pgsql: Add timezone offset output option to to_char()

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add timezone offset output option to to_char()
Date: 2013-07-01 17:40:58
Message-ID: E1Uti5y-0007N2-IG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7408c5d29b53fbeae0d88ab8121a42c3b4d9ed64

Modified Files
--------------
doc/src/sgml/func.sgml | 4 ++++
src/backend/utils/adt/formatting.c | 17 +++++++++++++++--
2 files changed, 19 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2013-07-01 18:40:08 Re: pgsql: Improve support for building PGXS modules with VPATH.
Previous Message Alvaro Herrera 2013-07-01 17:39:39 Re: pgsql: Improve support for building PGXS modules with VPATH.