Commit e35ea516 authored by Bruce Momjian's avatar Bruce Momjian

Remove GUC_REPORT for new "server_version_num" GUC variable. Added

overhead for every connection, per Tom.
parent 917bbebf
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>. * Written by Peter Eisentraut <peter_e@gmx.net>.
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.347 2006/09/02 13:12:50 momjian Exp $ * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.348 2006/09/02 17:08:10 momjian Exp $
* *
*-------------------------------------------------------------------- *--------------------------------------------------------------------
*/ */
...@@ -1633,7 +1633,7 @@ static struct config_int ConfigureNamesInt[] = ...@@ -1633,7 +1633,7 @@ static struct config_int ConfigureNamesInt[] =
{"server_version_num", PGC_INTERNAL, PRESET_OPTIONS, {"server_version_num", PGC_INTERNAL, PRESET_OPTIONS,
gettext_noop("Shows the server version as an integer."), gettext_noop("Shows the server version as an integer."),
NULL, NULL,
GUC_REPORT | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
}, },
&server_version_num, &server_version_num,
PG_VERSION_NUM, PG_VERSION_NUM, PG_VERSION_NUM, NULL, NULL PG_VERSION_NUM, PG_VERSION_NUM, PG_VERSION_NUM, NULL, NULL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment