pgsql: Remove excess space from jsonpath .datetime() default format str - Mailing list pgsql-committers

From Alexander Korotkov
Subject pgsql: Remove excess space from jsonpath .datetime() default format str
Date
Msg-id E1kNBVU-0001pn-A3@gemulon.postgresql.org
Whole thread Raw
List 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
------
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(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: Archive timeline history files in standby if archive_mode is set
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Support for ISO 8601 in the jsonpath .datetime() method