mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Rename max_predicate_locks_per_transaction.
The new name, max_pred_locks_per_transaction, is shorter. Kevin Grittner, per discussion.
This commit is contained in:
@@ -1725,10 +1725,10 @@ static struct config_int ConfigureNamesInt[] =
|
||||
},
|
||||
|
||||
{
|
||||
{"max_predicate_locks_per_transaction", PGC_POSTMASTER, LOCK_MANAGEMENT,
|
||||
{"max_pred_locks_per_transaction", PGC_POSTMASTER, LOCK_MANAGEMENT,
|
||||
gettext_noop("Sets the maximum number of predicate locks per transaction."),
|
||||
gettext_noop("The shared predicate lock table is sized on the assumption that "
|
||||
"at most max_predicate_locks_per_transaction * max_connections distinct "
|
||||
"at most max_pred_locks_per_transaction * max_connections distinct "
|
||||
"objects will need to be locked at any one time.")
|
||||
},
|
||||
&max_predicate_locks_per_xact,
|
||||
|
@@ -503,7 +503,7 @@
|
||||
# Note: Each lock table slot uses ~270 bytes of shared memory, and there are
|
||||
# max_locks_per_transaction * (max_connections + max_prepared_transactions)
|
||||
# lock table slots.
|
||||
#max_predicate_locks_per_transaction = 64 # min 10
|
||||
#max_pred_locks_per_transaction = 64 # min 10
|
||||
# (change requires restart)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user