Commit b5ae0d69 authored by Tom Lane's avatar Tom Lane

Mark the TimeZone parameter as GUC_REPORT, so that JDBC can find out

when it changes.  Per request from Kris Jurka.
parent 80855ba8
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.171 2004/12/13 18:05:08 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.172 2004/12/20 18:15:05 tgl Exp $
--> -->
<chapter id="libpq"> <chapter id="libpq">
...@@ -860,10 +860,11 @@ Parameters reported as of the current release include ...@@ -860,10 +860,11 @@ Parameters reported as of the current release include
<literal>client_encoding</>, <literal>client_encoding</>,
<literal>is_superuser</>, <literal>is_superuser</>,
<literal>session_authorization</>, <literal>session_authorization</>,
<literal>DateStyle</>, and <literal>DateStyle</>,
<literal>TimeZone</>, and
<literal>integer_datetimes</>. <literal>integer_datetimes</>.
(<literal>server_encoding</> and <literal>integer_datetimes</> were not (<literal>server_encoding</>, <literal>TimeZone</>, and
reported by releases before 8.0.) <literal>integer_datetimes</> were not reported by releases before 8.0.)
Note that Note that
<literal>server_version</>, <literal>server_version</>,
<literal>server_encoding</> and <literal>server_encoding</> and
......
<!-- $PostgreSQL: pgsql/doc/src/sgml/protocol.sgml,v 1.56 2004/12/13 18:05:08 petere Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/protocol.sgml,v 1.57 2004/12/20 18:15:05 tgl Exp $ -->
<chapter id="protocol"> <chapter id="protocol">
<title>Frontend/Backend Protocol</title> <title>Frontend/Backend Protocol</title>
...@@ -1051,10 +1051,11 @@ ...@@ -1051,10 +1051,11 @@
<literal>client_encoding</>, <literal>client_encoding</>,
<literal>is_superuser</>, <literal>is_superuser</>,
<literal>session_authorization</>, <literal>session_authorization</>,
<literal>DateStyle</>, and <literal>DateStyle</>,
<literal>TimeZone</>, and
<literal>integer_datetimes</>. <literal>integer_datetimes</>.
(<literal>server_encoding</> and <literal>integer_datetimes</> were not (<literal>server_encoding</>, <literal>TimeZone</>, and
reported by releases before 8.0.) <literal>integer_datetimes</> were not reported by releases before 8.0.)
Note that Note that
<literal>server_version</>, <literal>server_version</>,
<literal>server_encoding</> and <literal>server_encoding</> and
......
...@@ -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.250 2004/11/24 19:51:03 tgl Exp $ * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.251 2004/12/20 18:15:07 tgl Exp $
* *
*-------------------------------------------------------------------- *--------------------------------------------------------------------
*/ */
...@@ -1728,7 +1728,8 @@ static struct config_string ConfigureNamesString[] = ...@@ -1728,7 +1728,8 @@ static struct config_string ConfigureNamesString[] =
{ {
{"TimeZone", PGC_USERSET, CLIENT_CONN_LOCALE, {"TimeZone", PGC_USERSET, CLIENT_CONN_LOCALE,
gettext_noop("Sets the time zone for displaying and interpreting time stamps."), gettext_noop("Sets the time zone for displaying and interpreting time stamps."),
NULL NULL,
GUC_REPORT
}, },
&timezone_string, &timezone_string,
"UNKNOWN", assign_timezone, show_timezone "UNKNOWN", assign_timezone, show_timezone
......
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