aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2013-07-01 13:40:18 -0400
committerBruce Momjian <bruce@momjian.us>2013-07-01 13:40:32 -0400
commit7408c5d29b53fbeae0d88ab8121a42c3b4d9ed64 (patch)
tree0eb80786b304dd382838c5add70492cc98d0b419 /doc/src
parent6697aa2bc25c83b88d6165340348a31328c35de6 (diff)
downloadpostgresql-7408c5d29b53fbeae0d88ab8121a42c3b4d9ed64.tar.gz
postgresql-7408c5d29b53fbeae0d88ab8121a42c3b4d9ed64.zip
Add timezone offset output option to to_char()
Add ability for to_char() to output the timezone's UTC offset (OF). We already have the ability to return the timezone abbeviation (TZ/tz). Per request from Andrew Dunstan
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/func.sgml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 7c009d899cc..5765ddf576e 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -5645,6 +5645,10 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
<entry><literal>tz</literal></entry>
<entry>lower case time-zone name</entry>
</row>
+ <row>
+ <entry><literal>OF</literal></entry>
+ <entry>time-zone offset</entry>
+ </row>
</tbody>
</tgroup>
</table>