Skip to content

Commit b83f711

Browse files
committed
Remove lock* GUC variables from postgresql.conf.
Document why certain GUC variables aren't in postgresql.conf.
1 parent 65058fc commit b83f711

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

src/backend/utils/misc/guc.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.127 2003/05/28 18:19:09 tgl Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.128 2003/06/11 05:04:51 momjian Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -689,6 +689,7 @@ static struct config_int
689689
60, 1, 600, NULL, NULL
690690
},
691691

692+
/* Not for general use */
692693
{
693694
{"pre_auth_delay", PGC_SIGHUP}, &PreAuthDelay,
694695
0, 0, 60, NULL, NULL
@@ -871,6 +872,7 @@ static struct config_string
871872
"$user,public", assign_search_path, NULL
872873
},
873874

875+
/* Can't be set in postgresql.conf */
874876
{
875877
{"server_encoding", PGC_INTERNAL, GUC_REPORT},
876878
&server_encoding_string,
@@ -888,6 +890,7 @@ static struct config_string
888890
"notice", assign_log_min_messages, NULL
889891
},
890892

893+
/* Not for general use --- used by SET SESSION AUTHORIZATION */
891894
{
892895
{"session_authorization", PGC_USERSET, GUC_NO_SHOW_ALL | GUC_NO_RESET_ALL},
893896
&session_authorization_string,

src/backend/utils/misc/postgresql.conf.sample

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -181,20 +181,6 @@
181181
#stats_block_level = false
182182

183183

184-
#
185-
# Lock Tracing
186-
#
187-
#trace_notify = false
188-
189-
# requires LOCK_DEBUG
190-
#trace_locks = false
191-
#trace_userlocks = false
192-
#trace_lwlocks = false
193-
#debug_deadlocks = false
194-
#trace_lock_oidmin = 16384
195-
#trace_lock_table = 0
196-
197-
198184
#
199185
# Misc
200186
#

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy