8000 Fix documentation of to_char/to_timestamp TZ, tz, OF formatting patte… · anrs/postgres@df51e52 · GitHub
[go: up one dir, main page]

Skip to content

Commit df51e52

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 365db6b commit df51e52

File tree

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
@@ -5509,11 +5509,13 @@ SELECT regexp_matches('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}');
55095509
</row>
55105510
<row>
55115511
<entry><literal>TZ</literal></entry>
5512-
<entry>upper case time-zone name</entry>
5512+
<entry>upper case time-zone abbreviation
5513+
(only supported in <function>to_char</>)</entry>
55135514
</row>
55145515
<row>
55155516
<entry><literal>tz</literal></entry>
5516-
<entry>lower case time-zone name</entry>
5517+
<entry>lower case time-zone abbreviation
5518+
(only supported in <function>to_char</>)</entry>
55175519
</row>
55185520
</tbody>
55195521
</tgroup>

0 commit comments

Comments
 (0)
0