Mark the TimeZone parameter as GUC_REPORT, so that JDBC can find out
authorTom Lane
Mon, 20 Dec 2004 18:15:07 +0000 (18:15 +0000)
committerTom Lane
Mon, 20 Dec 2004 18:15:07 +0000 (18:15 +0000)
when it changes.  Per request from Kris Jurka.

doc/src/sgml/libpq.sgml
doc/src/sgml/protocol.sgml
src/backend/utils/misc/guc.c

index b2112d8957007022fc0eff8f1772b5778c987280..ef4df849187fb1148532b5bfedbdb311df46228d 100644 (file)
@@ -1,5 +1,5 @@
 
 
  
@@ -860,10 +860,11 @@ Parameters reported as of the current release include
 client_encoding,
 is_superuser,
 session_authorization,
-DateStyle, and
+DateStyle,
+TimeZone, and
 integer_datetimes.
-(server_encoding and integer_datetimes were not
-reported by releases before 8.0.)
+(server_encodingTimeZone, and
+integer_datetimes were not reported by releases before 8.0.)
 Note that
 server_version,
 server_encoding and
index 0818e053b6c6089f1c1054e920a5deec37d997c8..e93d5e4aa2c7b2b7dadbd866efe9a2706ae42466 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  Frontend/Backend Protocol
     client_encoding,
     is_superuser,
     session_authorization,
-    DateStyle, and
+    DateStyle,
+    TimeZone, and
     integer_datetimes.
-    (server_encoding and integer_datetimes were not
-    reported by releases before 8.0.)
+    (server_encodingTimeZone, and
+    integer_datetimes were not reported by releases before 8.0.)
     Note that
     server_version,
     server_encoding and
index fd13c41a35bd5230229555094fac6f98f3c4b4bb..3ba1a143c084d7d5d602f7532b8db4a57317cdcb 100644 (file)
@@ -10,7 +10,7 @@
  * Written by Peter Eisentraut .
  *
  * 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,
            gettext_noop("Sets the time zone for displaying and interpreting time stamps."),
-           NULL
+           NULL,
+           GUC_REPORT
        },
        &timezone_string,
        "UNKNOWN", assign_timezone, show_timezone