pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Support "of", "tzh", and "tzm" format codes.
Date: Mon, 14 Mar 2022 20:52:30 +0000
Message-ID: <E1nTrg6-0004OD-8E@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1nTrg6-0004OD-8E@gemulon.postgresql.org>
Permalink:  ../E1nTrg6-0004OD-8E@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nTrg6-0004OD-8E@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Support "of", "tzh", and "tzm" format codes.
  In-Reply-To: <E1nTrg6-0004OD-8E@gemulon.postgresql.org>
  References: <E1nTrg6-0004OD-8E@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox