pgsql: Make win32tzlist.pl checkable again

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make win32tzlist.pl checkable again
Date: 2023-12-22 14:05:30
Message-ID: E1rGg9a-00BOxx-Gr@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make win32tzlist.pl checkable again

Commit 1301c80b21 removed some infrastructure needed to check
windows-oriented perl scripts. It also removed most such scripts, but
this one was left over. We repair the damage by making Win32::Registry a
conditional requirement that is only loaded on Windows. With this change
`perl -cw win32tzlist.pl` once again passes on non-Windows machines.

Discussion: https://postgr.es/m/a2bd77fd-61b8-4c2b-b12e-3e22ae260f82@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8ddf9c1dc020d569d3a0aa22e3269a64e8a4ef23

Modified Files
--------------
src/tools/win32tzlist.pl | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-12-22 18:32:26 pgsql: Stop generating plain-text INSTALL instructions.
Previous Message Jeff Davis 2023-12-21 23:16:18 pgsql: Initialize data directories with --lc-messages=C for tests.