aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-02-15 08:00:04 -0500
committerRobert Haas <rhaas@postgresql.org>2011-02-15 08:04:55 -0500
commit6a77e9385eb46829ce80971bc655df9f3ef00d9a (patch)
tree957edd3f2c2f13d44d508e3d268c4438b5ced579 /src/backend/utils
parent2fd77060a2db814146cf1f6cf77755a4b4fd9a80 (diff)
downloadpostgresql-6a77e9385eb46829ce80971bc655df9f3ef00d9a.tar.gz
postgresql-6a77e9385eb46829ce80971bc655df9f3ef00d9a.zip
Rename max_predicate_locks_per_transaction.
The new name, max_pred_locks_per_transaction, is shorter. Kevin Grittner, per discussion.
Diffstat (limited to 'src/backend/utils')
-rw-r--r--src/backend/utils/misc/guc.c4
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index 470183d4aba..56885576b92 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -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,
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index 5d31365dab4..3b00a032621 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -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)
#------------------------------------------------------------------------------