summaryrefslogtreecommitdiff
path: root/src/auditordb/versioning.sql
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-09-06 21:27:15 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-09-06 21:27:15 +0200
commit3393222d1b70c2647583ad0514a3c9e76e92eb06 (patch)
tree5abc295c5b86f68c54db8c8fb479f946b900fb8b /src/auditordb/versioning.sql
parentf17a28e88466738bf0db120cdb017b4952ed0956 (diff)
downloadexchange-3393222d1b70c2647583ad0514a3c9e76e92eb06.tar.gz
exchange-3393222d1b70c2647583ad0514a3c9e76e92eb06.tar.bz2
exchange-3393222d1b70c2647583ad0514a3c9e76e92eb06.zip
remove locking, we'll revert to sequential use as locking requires superuser
Diffstat (limited to 'src/auditordb/versioning.sql')
-rw-r--r--src/auditordb/versioning.sql4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/auditordb/versioning.sql b/src/auditordb/versioning.sql
index c7fa81213..444cf95ed 100644
--- a/src/auditordb/versioning.sql
+++ b/src/auditordb/versioning.sql
@@ -146,10 +146,6 @@
BEGIN;
--- Added by Christian Grothoff to support concurrency, see
--- https://stackoverflow.com/questions/29900845/create-schema-if-not-exists-raises-duplicate-key-error?rq=4
-LOCK TABLE pg_catalog.pg_namespace;
-
-- This file adds versioning support to database it will be loaded to.
-- It requires that PL/pgSQL is already loaded - will raise exception otherwise.