On Fri, 2006-10-27 at 10:56 -0400, Neil Conway wrote:
> Sure, I'll wait for 8.3 to branch.
Attached is a revised version of this patch. I added a description for
pre_auth_delay (rather than removing it from SHOW ALL). I also removed
explicit mention of units from a bunch of description strings, since
after Peter's work for 8.2, some configuration variables can be
specified or displayed in several possible units. For example, the
current output from SHOW ALL is:
deadlock_timeout | 1s | The time in milliseconds to wait on lock before
checking for deadlock.
... which is plainly not a value "in milliseconds".
Barring any objections, I'll apply this to 8.3 (HEAD) tomorrow.
-Neil
Index: src/backend/utils/misc/guc.c
===
RCS file: /home/neilc/postgres/cvs_root/pgsql/src/backend/utils/misc/guc.c,v
retrieving revision 1.360
diff -c -p -r1.360 guc.c
*** src/backend/utils/misc/guc.c 29 Nov 2006 14:50:07 - 1.360
--- src/backend/utils/misc/guc.c 2 Dec 2006 19:28:33 -
*** static struct config_bool ConfigureNames
*** 587,593
{
/* currently undocumented, so don't show in SHOW ALL */
{"exit_on_error", PGC_USERSET, UNGROUPED,
! gettext_noop("no description available"),
NULL,
GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE
},
--- 587,593
{
/* currently undocumented, so don't show in SHOW ALL */
{"exit_on_error", PGC_USERSET, UNGROUPED,
! gettext_noop("No description available."),
NULL,
GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE
},
*** static struct config_bool ConfigureNames
*** 669,675
#ifdef BTREE_BUILD_STATS
{
{"log_btree_build_stats", PGC_SUSET, DEVELOPER_OPTIONS,
! gettext_noop("no description available"),
NULL,
GUC_NOT_IN_SAMPLE
},
--- 669,675
#ifdef BTREE_BUILD_STATS
{
{"log_btree_build_stats", PGC_SUSET, DEVELOPER_OPTIONS,
! gettext_noop("No description available."),
NULL,
GUC_NOT_IN_SAMPLE
},
*** static struct config_bool ConfigureNames
*** 761,767
#ifdef LOCK_DEBUG
{
{"trace_locks", PGC_SUSET, DEVELOPER_OPTIONS,
! gettext_noop("no description available"),
NULL,
GUC_NOT_IN_SAMPLE
},
--- 761,767
#ifdef LOCK_DEBUG
{
{"trace_locks", PGC_SUSET, DEVELOPER_OPTIONS,
! gettext_noop("No description available."),
NULL,
GUC_NOT_IN_SAMPLE
},
*** static struct config_bool ConfigureNames
*** 770,776
},
{
{"trace_userlocks", PGC_SUSET, DEVELOPER_OPTIONS,
! gettext_noop("no description available"),
NULL,
GUC_NOT_IN_SAMPLE
},
--- 770,776
},
{
{"trace_userlocks", PGC_SUSET, DEVELOPER_OPTIONS,
! gettext_noop("No description available."),
NULL,
GUC_NOT_IN_SAMPLE
},
*** static struct config_bool ConfigureNames
*** 779,785
},
{
{"trace_lwlocks", PGC_SUSET, DEVELOPER_OPTIONS,
! gettext_noop("no description available"),
NULL,
GUC_NOT_IN_SAMPLE
},
--- 779,785
},
{
{"trace_lwlocks", PGC_SUSET, DEVELOPER_OPTIONS,
! gettext_noop("No description available."),
NULL,
GUC_NOT_IN_SAMPLE
},
*** static struct config_bool ConfigureNames
*** 788,794
},
{
{"debug_deadlocks", PGC_SUSET, DEVELOPER_OPTIONS,
! gettext_noop("no description available"),
NULL,
GUC_NOT_IN_SAMPLE
},
--- 788,794
},
{
{"debug_deadlocks", PGC_SUSET, DEVELOPER_OPTIONS,
! gettext_noop("No description available."),
NULL,
GUC_NOT_IN_SAMPLE
},
*** static struct config_bool ConfigureNames
*** 982,988
{
{"standard_conforming_strings", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
! gettext_noop("'...' strings treat backslashes literally."),
NULL,
GUC_REPORT
},
--- 982,988
{
{"standard_conforming_strings", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
! gettext_noop("Causes '...' strings to treat backslashes literally."),
NULL,
GUC_REPORT
},
*** static struct config_int ConfigureNamesI
*** 1050,1057
},
{
{"from_collapse_limit", PGC_USERSET, QUERY_TUNING_OTHER,
! gettext_noop("Sets the FROM-list size beyond which subqueries are not "
! "collapsed."),
gettext_noop("The planner will merge subqueries into upper "
"queries if the resulting FROM list would have no more than "
"this many items.")
--- 1050,1057
},
{
{"from_collapse_limit", PGC_USERSET, QUERY_TUNING_OTHER,
! gettext_noop("Sets the FROM-list size beyond which subqueries "
! "are not collapsed."),
gettext_noop("The planner will merge subqueries into upper "
"queries if the resulting FROM list would have no more than "
"this many items.")
*** static struct config_int ConfigureNamesI
*** 1061,1071
},
{
{"join_collapse_limit", PGC_USERSET, QUERY_TUN