aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2024-07-30 07:57:16 -0400
committerAndrew Dunstan <andrew@dunslane.net>2024-07-30 07:57:16 -0400
commit0d57dc2f9137de47534cc4db115e182e4093b945 (patch)
tree65ad3d6b0de870335a51f04b1e60353cd67af4ff /src/backend/utils/adt/jsonpath.c
parent71795d1cb41b8144ae8b84bee1e60cfc8321cfd1 (diff)
downloadpostgresql-0d57dc2f9137de47534cc4db115e182e4093b945.tar.gz
postgresql-0d57dc2f9137de47534cc4db115e182e4093b945.zip
Preserve tz when converting to jsonb timestamptz
This removes an inconsistency in the treatment of different datatypes by the jsonpath timestamp_tz() function. Conversions from data types that are not timestamp-aware, such as date and timestamp, are now treated consistently with conversion from those that are such as timestamptz. Author: David Wheeler Reviewed-by: Junwang Zhao and Jeevan Chalke Discussion: https://postgr.es/m/7DE080CE-6D8C-4794-9BD1-7D9699172FAB%40justatheory.com Backpatch to release 17.
Diffstat (limited to 'src/backend/utils/adt/jsonpath.c')
0 files changed, 0 insertions, 0 deletions