From 16417ba58e9256903fa120881aa299db0101fac5 Mon Sep 17 00:00:00 2001
From: Bruce Momjian
Date: Wed, 31 Aug 2022 20:27:27 -0400
Subject: doc: mention that SET TIME ZONE often needs to be quoted
Also mention that time zone abbreviations are not supported.
Reported-by: philippe.godfrin@nov.com
Discussion: https://postgr.es/m/163888728952.1269.5167822676466793158@wrigleys.postgresql.org
Backpatch-through: 10
---
doc/src/sgml/ref/set.sgml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
(limited to 'doc/src')
diff --git a/doc/src/sgml/ref/set.sgml b/doc/src/sgml/ref/set.sgml
index 63f312e812a..3355dc24f60 100644
--- a/doc/src/sgml/ref/set.sgml
+++ b/doc/src/sgml/ref/set.sgml
@@ -22,7 +22,7 @@ PostgreSQL documentation
SET [ SESSION | LOCAL ] configuration_parameter { TO | = } { value | 'value' | DEFAULT }
-SET [ SESSION | LOCAL ] TIME ZONE { timezone | LOCAL | DEFAULT }
+SET [ SESSION | LOCAL ] TIME ZONE { value | 'value' | LOCAL | DEFAULT }
@@ -191,8 +191,8 @@ SELECT setseed(value);
TIME ZONE
- SET TIME ZONE value is an alias
- for SET timezone TO value. The
+ SET TIME ZONE 'value' is an alias
+ for SET timezone TO 'value'. The
syntax SET TIME ZONE allows special syntax
for the time zone specification. Here are examples of valid
values:
@@ -253,7 +253,8 @@ SELECT setseed(value);
- See for more information
+ Time zone abbreviations are not supported by SET;
+ see for more information
about time zones.
--
cgit v1.2.3