]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove excess space from jsonpath .datetime() default format string
authorAlexander Korotkov <akorotkov@postgresql.org>
Tue, 29 Sep 2020 08:00:22 +0000 (11:00 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Tue, 29 Sep 2020 08:55:15 +0000 (11:55 +0300)
commitabcc0ab163003d2ab7c82a1e810ba257ebbec15f
tree78c09027d253dbbf3e693169074904810202476a
parent059caf36c3074afd998b6e5f36ea9da460dcaee8
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
src/backend/utils/adt/jsonpath_exec.c
src/test/regress/expected/jsonb_jsonpath.out
src/test/regress/sql/jsonb_jsonpath.sql