pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove excess space from jsonpath .datetime() default format str
Date: Tue, 29 Sep 2020 09:01:08 +0000
Message-ID: <E1kNBVU-0001pn-A3@gemulon.postgresql.org> (raw)

Remove excess space from jsonpath .datetime() default format string

bffe1bd684 has introduced jsonpath .datetime() method, but default formats
for time and timestamp contain excess space between time and timezone.  This
commit removes this excess space making behavior of .datetime() method
standard-compliant.

Discussion: https://postgr.es/m/94321be0-cc96-1a81-b6df-796f437f7c66%40postgrespro.ru
Author: Nikita Glukhov
Backpatch-through: 13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c2aa562ea5c2bf28c347503731434f08097cf1e5

Modified Files
--------------
src/backend/utils/adt/jsonpath_exec.c        |  8 +--
src/test/regress/expected/jsonb_jsonpath.out | 76 ++++++++++++++--------------
src/test/regress/sql/jsonb_jsonpath.sql      | 76 ++++++++++++++--------------
3 files changed, 80 insertions(+), 80 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1kNBVU-0001pn-A3@gemulon.postgresql.org>
Permalink:  ../E1kNBVU-0001pn-A3@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kNBVU-0001pn-A3@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: akorotkov@postgresql.org
  Subject: Re: pgsql: Remove excess space from jsonpath .datetime() default format str
  In-Reply-To: <E1kNBVU-0001pn-A3@gemulon.postgresql.org>
  References: <E1kNBVU-0001pn-A3@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