Dear maintainer,
When /usr/lib/postgresql Directory contains directory which name
does not look like version number(aka, /usr/lib/posgresql/lib),
pg_ctlcluster do always enter infinite loop.
Please apply patch below, it will fix this problem.
Regards.
ITANI Eiichiro
--- /usr/share/perl5/PgCommon.pm.orig 2019-09-12 22:22:22.000000000 +0900
+++ /usr/share/perl5/PgCommon.pm 2019-09-18 09:21:20.312233557 +0900
@@ -694,7 +694,7 @@
my $pfx = '';
#redhat# $pfx = "pgsql-";
($entry) = $entry =~ /^$pfx(\d+\.?\d+)$/; # untaint
- push @versions, $entry if get_program_path ('psql', $entry);
+ push @versions, $entry if $entry and get_program_path ('psql',
$entry);
}
closedir D;
}