Thread: plperl regression tests

plperl regression tests

From
Reini Urban
Date:
Is it possible to test for plperl and add some plperl tests to the 
regression suite?

I see the pg_regress installs and runs with_perl=no.
The problem is that cygwin postgres builds and runs fine, only the perl 
extensions fails (IPC problem when loading the huge perl dll).

So I really would like to add a simple plperl testcase to the standard 
distro. Just the sample from the plperl.sgml would be fine.
Any general objections?
I'll come up with a patch if not, which will check if the postmaster has 
plperl support and use it then.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/



Re: plperl regression tests

From
Bruce Momjian
Date:
Reini Urban wrote:
> Is it possible to test for plperl and add some plperl tests to the 
> regression suite?
> 
> I see the pg_regress installs and runs with_perl=no.
> The problem is that cygwin postgres builds and runs fine, only the perl 
> extensions fails (IPC problem when loading the huge perl dll).
> 
> So I really would like to add a simple plperl testcase to the standard 
> distro. Just the sample from the plperl.sgml would be fine.
> Any general objections?
> I'll come up with a patch if not, which will check if the postmaster has 
> plperl support and use it then.

Seems fine as long as the test only runs when they have asked for perl
from configure.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073