aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/guc.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-11-10 17:54:27 -0500
committerRobert Haas <rhaas@postgresql.org>2011-11-10 17:54:27 -0500
commit71b2b657c034743f81ae7906d7b0fcc8e9a0a6a3 (patch)
tree14c5210e25e8ac151328ae26832f5a254c4f23af /src/backend/utils/misc/guc.c
parentcf22e851b6ae8737f3e767dffcadf1722fbb36a7 (diff)
downloadpostgresql-71b2b657c034743f81ae7906d7b0fcc8e9a0a6a3.tar.gz
postgresql-71b2b657c034743f81ae7906d7b0fcc8e9a0a6a3.zip
Revert removal of trace_userlocks, because userlocks aren't gone.
This reverts commit 0180bd6180511875db046bf8ddcaa633a2952dfd. contrib/userlock is gone, but user-level locking still exists, and is exposed via the pg_advisory* family of functions.
Diffstat (limited to 'src/backend/utils/misc/guc.c')
-rw-r--r--src/backend/utils/misc/guc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index a22272c6b76..da7b6d4e90b 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -1061,6 +1061,16 @@ static struct config_bool ConfigureNamesBool[] =
NULL, NULL, NULL
},
{
+ {"trace_userlocks", PGC_SUSET, DEVELOPER_OPTIONS,
+ gettext_noop("No description available."),
+ NULL,
+ GUC_NOT_IN_SAMPLE
+ },
+ &Trace_userlocks,
+ false,
+ NULL, NULL, NULL
+ },
+ {
{"trace_lwlocks", PGC_SUSET, DEVELOPER_OPTIONS,
gettext_noop("No description available."),
NULL,