agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix timezone dependence in test_misc/012_ddlutils.pl
Date: Wed, 29 Apr 2026 16:02:03 +0000
Message-ID: <E1wI7MQ-003Ldn-2V@gemulon.postgresql.org> (raw)

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(+)



Message-ID: <E1wI7MQ-003Ldn-2V@gemulon.postgresql.org>
Permalink:  ../E1wI7MQ-003Ldn-2V@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wI7MQ-003Ldn-2V@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix timezone dependence in test_misc/012_ddlutils.pl
  In-Reply-To: <E1wI7MQ-003Ldn-2V@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox