From 83c43315e94c335bd34c76095c67ccf3e81776ad Mon Sep 17 00:00:00 2001
From: bowrocker <jon.anderson@joyent.com>
Date: Mon, 30 Mar 2020 10:02:33 -0400
Subject: [PATCH] Bump up max_locks_per_transaction in posgresql.conf to
 support large vnode buckets schemas.

---
 etc/postgresql.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/postgresql.conf b/etc/postgresql.conf
index 33a8134..98aaf5c 100644
--- a/etc/postgresql.conf
+++ b/etc/postgresql.conf
@@ -529,7 +529,7 @@ default_text_search_config = 'pg_catalog.english'
 #------------------------------------------------------------------------------
 
 #deadlock_timeout = 1s
-#max_locks_per_transaction = 64   # min 10
+max_locks_per_transaction = 1024   # min 10
           # (change requires restart)
 # Note:  Each lock table slot uses ~270 bytes of shared memory, and there are
 # max_locks_per_transaction * (max_connections + max_prepared_transactions)