pgsql: Fix timezone dependence in test_misc/012_ddlutils.pl - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Fix timezone dependence in test_misc/012_ddlutils.pl
Date
Msg-id E1wI7MQ-003Ldn-2V@gemulon.postgresql.org
Whole thread
List pgsql-committers
Fix timezone dependence in test_misc/012_ddlutils.pl

The tests introduced in c529ee38b9e are timezone sensitive.

Pin the cluster's timezone to UTC at init time so timestamptz output
is deterministic regardless of the host's local timezone.

Branch
------
master

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

Modified Files
--------------
src/test/modules/test_misc/t/012_ddlutils.pl | 3 +++
1 file changed, 3 insertions(+)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Convert ddlutils regression tests to TAP tests.
Next
From: Masahiko Sawada
Date:
Subject: pgsql: test_tidstore: Stabilize regression tests by sorting offsets.