git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 090f21b)
Fix documentation of to_char/to_timestamp TZ, tz, OF formatting patterns.
2017年2月20日 15:05:00 +0000 (10:05 -0500)
2017年2月20日 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.


diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index d7738b18b7a8bed4c2ec2b52ff1fea8183b9e35d..1c8202c257ce9cc8225a4cfc0291c3a2014ebad6 100644 (file)
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -6062,15 +6062,18 @@ SELECT regexp_match('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}');
</row>
<row>
<entry><literal>TZ</literal></entry>
- <entry>upper case time-zone name</entry>
+ <entry>upper case time-zone abbreviation
+ (only supported in <function>to_char</>)</entry>
</row>
<row>
<entry><literal>tz</literal></entry>
- <entry>lower case time-zone name</entry>
+ <entry>lower case time-zone abbreviation
+ (only supported in <function>to_char</>)</entry>
</row>
<row>
<entry><literal>OF</literal></entry>
- <entry>time-zone offset</entry>
+ <entry>time-zone offset from UTC
+ (only supported in <function>to_char</>)</entry>
</row>
</tbody>
</tgroup>
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /