pgsql: Move Cluster.pm initialization code to a more obvious place

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move Cluster.pm initialization code to a more obvious place
Date: 2024-10-06 14:41:37
Message-ID: E1sxSS1-002QTU-9O@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Move Cluster.pm initialization code to a more obvious place

Commit 460c0076e8 added some module intialization code to set signal
handlers. However, that code has now become somewhat buried, as later
commits added new subroutines. Therefore, move the initialization code
to the module's INIT block where it won't become obscured.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/70fea390cfa71c438998993bebfb584effd3e7df

Modified Files
--------------
src/test/perl/PostgreSQL/Test/Cluster.pm | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-10-06 20:04:04 pgsql: Ignore not-yet-defined Portals in pg_cursors view.
Previous Message Michael Paquier 2024-10-06 09:23:31 pgsql: libpq: Discard leading and trailing spaces for parameters and va