On Dec 7, 2022, at 16:40, Robert L. Kirby <
kirb...@gmail.com> wrote:
> While preparing to install PostgreSQL 11.18 and the latest pgTAP on a fresh machine, it seems reasonable to do any perl upgrades and module downloads first from perl 5.18.2, which comes with MacOS 10.12.6 Sierra (it's an older machine). If I remember from the last pgTAP installation, pgTAP complains if it doesn't find what it needs but it seems safer to have an appropriate version of perl installed before compiling PostgreSQL with perl support, which is needed before installing pgTAP.
pgTAP itself does not require Perl. The Makefile uses Perl as part of the installation, though. So it doesn’t matter what version of Perl you use, to be honest, 5.18 is fine.
If you use pg_prove, however, that *does* require Perl, but any version from 5.6 is supported.
> Perhaps the pgTAP installation documentation should mention which minimal version of perl and its modules should be installed for those developers not regularly working with perl.
It really doesn’t matter, 5.6 is the minimal version, and it came out in March 2000! I think you’re good.
D