summaryrefslogtreecommitdiff
path: root/src/syncdb/versioning.sql
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-09-06 21:27:21 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-09-06 21:27:21 +0200
commitf294b27630de8e4621e049907b94d52ab2b3eb79 (patch)
treec536ce3e08f332bf494e4bf9818b81b9a0156bd6 /src/syncdb/versioning.sql
parent2dc62e1dd190ff5080fb0782d69e828ff6f1674d (diff)
downloadsync-f294b27630de8e4621e049907b94d52ab2b3eb79.tar.gz
sync-f294b27630de8e4621e049907b94d52ab2b3eb79.tar.bz2
sync-f294b27630de8e4621e049907b94d52ab2b3eb79.zip
remove locking, we'll revert to sequential use as locking requires superuser
Diffstat (limited to 'src/syncdb/versioning.sql')
-rw-r--r--src/syncdb/versioning.sql4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/syncdb/versioning.sql b/src/syncdb/versioning.sql
index c7fa812..444cf95 100644
--- a/src/syncdb/versioning.sql
+++ b/src/syncdb/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.