]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix timezone dependence in test_misc/012_ddlutils.pl
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 29 Apr 2026 15:58:15 +0000 (11:58 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 29 Apr 2026 16:00:32 +0000 (12:00 -0400)
commitdf1bac400fb4877ba9f4bda2a29adaf8b40b4bd3
treec3ef779a8dd8840f03e56eb7f94f02362ccdf01b
parentc529ee38b9eb26527da05b85dee087676dd8fe37
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.
src/test/modules/test_misc/t/012_ddlutils.pl