You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PGPRO-5983: fix Perl tests due to changes in PostgreSQL 15devel
The standard PostgreSQL Perl modules for testing have been moved and some have
been renamed. Try to maintain both old and new modules by exporting the
enviromental variable VERSION_NUM and conditionally loading the required modules
at compile time. We cannot load these modules at runtime because they can have
INIT blocks.
Also use Perl's 'eval' function to call functions from these modules so we don't
get compilation errors due to conditionally loading modules.
The enviromental variable PG_15_PERL_MUDULES is for running tests on Windows
using MSVC because I'm not sure if it would be better to try to find and export
the variable VERSION_NUM in vcregress.pl.. It also seems to be easier to just
export the variable VERSION_NUM in Makefile on Linux instead of creating a
version check using shell commands..
0 commit comments