diff --git a/src/pl/plperl/SPI.xs b/src/pl/plperl/SPI.xs index 0447c50..1175426 100644 --- a/src/pl/plperl/SPI.xs +++ b/src/pl/plperl/SPI.xs @@ -18,6 +18,8 @@ #include "plperl.h" #include "plperl_helpers.h" +#undef dXSBOOTARGSAPIVERCHK +#define dXSBOOTARGSAPIVERCHK dXSBOOTARGSNOVERCHK /* * Interface routine to catch ereports and punt them to Perl diff --git a/src/pl/plperl/Util.xs b/src/pl/plperl/Util.xs index dbba0d7..d642aa5 100644 --- a/src/pl/plperl/Util.xs +++ b/src/pl/plperl/Util.xs @@ -23,6 +23,9 @@ #include "plperl.h" #include "plperl_helpers.h" +#undef dXSBOOTARGSAPIVERCHK +#define dXSBOOTARGSAPIVERCHK dXSBOOTARGSNOVERCHK + /* * Implementation of plperl's elog() function *