pgsql: Support "of", "tzh", and "tzm" format codes. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Support "of", "tzh", and "tzm" format codes.
Date
Msg-id E1nTrg6-0004OD-8E@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Support "of", "tzh", and "tzm" format codes.

The upper case versions "OF", "TZH", and "TZM" are already supported,
and all other format codes that are supported in upper case are also
supported in lower case, so we should support these as well for
consistency.

Nitin Jadhav, with a tiny cosmetic change by me. Reviewed by Suraj
Kharage and David Zhang.

Discussion: http://postgr.es/m/CAMm1aWZ-oZyKd75+8D=VJ0sAoSwtdXWLP-MAWD4D8R1Dgandzw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9dde82899cdf48bd7b2f3d83e4f724ac9ae02c79

Modified Files
--------------
src/backend/utils/adt/formatting.c        | 10 ++++-
src/test/regress/expected/timestamptz.out | 65 +++++++++++++++++++++++++++++++
src/test/regress/sql/timestamptz.sql      | 22 +++++++++++
3 files changed, 95 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Optionally disable subscriptions on error.
Next
From: Bruce Momjian
Date:
Subject: Yubikey use for commit keys