pgsql: Remove excess space from jsonpath .datetime() default format str

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove excess space from jsonpath .datetime() default format str
Date: 2020-09-29 09:01:15
Message-ID: E1kNBVb-0001qL-VG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
REL_13_STABLE

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-09-29 13:29:18 Re: __pg_log_level in anonynous enum should be initialized? (Was: pgsql: Change SHA2 implementation based on OpenSSL to use EVP digest ro)
Previous Message Alexander Korotkov 2020-09-29 09:01:08 pgsql: Support for ISO 8601 in the jsonpath .datetime() method