Move Cluster.pm initialization code to a more obvious place

Andrew Dunstan <andrew@dunslane.net>

Commit: 70fea390cfa71c438998993bebfb584effd3e7df
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2024-10-06T14:34:45Z
Releases: 18.0
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.

Files

PathChange+/−
src/test/perl/PostgreSQL/Test/Cluster.pm modified +5 −7