1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-06 19:59:18 +03:00

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

when it changes.  Per request from Kris Jurka.
This commit is contained in:
Tom Lane 2004-12-20 18:15:07 +00:00
parent 80855ba8ca
commit b5ae0d69da
3 changed files with 13 additions and 10 deletions

View File

@ -1,5 +1,5 @@
<!-- <!--
$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
<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

View File

@ -1,4 +1,4 @@
<!-- $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 @@
<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

View File

@ -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[] =
{ {
{"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