pgsql: Stabilize jsonb_path_query test case.

Started by Tom Laneover 1 year ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Stabilize jsonb_path_query test case.

An operation like '12:34:56'::time_tz takes the UTC offset from
the prevailing time zone, which means that the results change
across DST transitions. One of the test cases added in ed055d249
failed to consider this.

Per report from Bernhard Wiedemann. Back-patch to v17, as the
test case was.

Discussion: /messages/by-id/ba8e1bc0-8a99-45b7-8397-3f2e94415e03@suse.de

Branch
------
master

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

Modified Files
--------------
src/test/regress/expected/jsonb_jsonpath.out | 6 +++++-
src/test/regress/sql/jsonb_jsonpath.sql | 4 ++++
2 files changed, 9 insertions(+), 1 deletion(-)