[PATCHES] plperl strict mode and associated fixes

2005-08-23 Thread Andrew Dunstan
The attached patch completes (I hope) the work begun by Michael Fuhr in an earlier unapplied patch, and makes strict mode work as recently discussed. I moved the embedded strings out of the calling functions into global macros to try to make the code a little more readable. Unfortunately we

Re: [PATCHES] plperl strict mode and associated fixes

2005-08-23 Thread Michael Fuhr
On Tue, Aug 23, 2005 at 09:12:10PM -0400, Andrew Dunstan wrote: The attached patch completes (I hope) the work begun by Michael Fuhr in an earlier unapplied patch, and makes strict mode work as recently discussed. I moved the embedded strings out of the calling functions into global macros

Re: [PATCHES] plperl strict mode and associated fixes

2005-08-23 Thread Tom Lane
Michael Fuhr [EMAIL PROTECTED] writes: Hmmm...even if the plperl custom variable class isn't defined in postgresql.conf, plperl.use_strict springs into existence when the interpreter is initialized: Yes, this is per spec. The custom class concept is only intended to allow you to put things