Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 391a239

Browse files
committed
Fix documentation of to_char/to_timestamp TZ, tz, OF formatting patterns.
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.
1 parent 4be0c2e commit 391a239

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/src/sgml/func.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5723,11 +5723,13 @@ SELECT regexp_matches('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}');
57235723
</row>
57245724
<row>
57255725
<entry><literal>TZ</literal></entry>
5726-
<entry>upper case time-zone name</entry>
5726+
<entry>upper case time-zone abbreviation
5727+
(only supported in <function>to_char</>)</entry>
57275728
</row>
57285729
<row>
57295730
<entry><literal>tz</literal></entry>
5730-
<entry>lower case time-zone name</entry>
5731+
<entry>lower case time-zone abbreviation
5732+
(only supported in <function>to_char</>)</entry>
57315733
</row>
57325734
</tbody>
57335735
</tgroup>

0 commit comments

Comments
 (0)