Fix documentation of to_char/to_timestamp TZ, tz, OF formatting patterns.
authorTom Lane
Mon, 20 Feb 2017 15:05:00 +0000 (10:05 -0500)
committerTom Lane
Mon, 20 Feb 2017 15:05:00 +0000 (10:05 -0500)
These are only supported in to_char, not in the other direction, but the
documentation failed to mention that.  Also, describe TZ/tz as printing the
time zone "abbreviation", not "name", because what they print is elsewhere
referred to that way.  Per bug #14558.

doc/src/sgml/func.sgml

index 89c75b7bee4a8b780b15bbd049478c90da8cc45c..e0b1b01e64d0097a1e371c24f9e5607f384b18ea 100644 (file)
@@ -5746,15 +5746,18 @@ SELECT regexp_matches('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}');
        
        
         TZ
-        upper case time-zone name
+        upper case time-zone abbreviation
+         (only supported in to_char)
        
        
         tz
-        lower case time-zone name
+        lower case time-zone abbreviation
+         (only supported in to_char)
        
        
         OF
-        time-zone offset
+        time-zone offset from UTC
+         (only supported in to_char)