pgsql: Implement TZH and TZM timestamp format patterns

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Implement TZH and TZM timestamp format patterns
Date: 2018-01-09 19:30:43
Message-ID: E1eYzbf-0007fL-KD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Implement TZH and TZM timestamp format patterns

These are compatible with Oracle and required for the datetime template
language for jsonpath in an upcoming patch.

Nikita Glukhov and Andrew Dunstan, reviewed by Pavel Stehule.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/11b623dd0a2c385719ebbbdd42dd4ec395dcdc9d

Modified Files
--------------
doc/src/sgml/func.sgml | 8 ++++
src/backend/utils/adt/formatting.c | 69 +++++++++++++++++++++++++++--
src/test/regress/expected/horology.out | 30 +++++++++++++
src/test/regress/expected/timestamptz.out | 72 ++++++++++++++++++-------------
src/test/regress/sql/horology.sql | 6 +++
src/test/regress/sql/timestamptz.sql | 20 +++++----
6 files changed, 164 insertions(+), 41 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2018-01-09 20:10:17 pgsql: Change some bogus PageGetLSN calls to BufferGetLSNAtomic
Previous Message Peter Eisentraut 2018-01-09 18:59:41 pgsql: Remove PortalGetQueryDesc()