Re: PL/Perl compilation error - Mailing list pgsql-general

From Gilles DAROLD
Subject Re: PL/Perl compilation error
Date
Msg-id 39EC2F89.A5A5511C@darold.net
Whole thread Raw
In response to Re: PL/Perl compilation error  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses do triggers/procedures run instantly?  ("chris markiewicz" <cmarkiew@commnav.com>)
Re: PL/Perl compilation error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane wrote:

> Gilles DAROLD <gilles@darold.net> writes:
> >>>> I have take a look to the source code concerning PL/Perl, it seems that 2 variables
> >>>> have a bad call : errgv and na.
> >>>>
> >>>> If you replace them by their normal call (in 5.6.0) PL_errgv and PL_na you will get
> >>>> success to compile the lib plperl.so.
> >>>>
>
> > This patch (simple diff) applies to postgresql-7.0.2.
>
> The problem is this will break on older copies of Perl.
>
>                         regards, tom lane

This problem is solved by perl itself !

I know it work under perl > 5.005_3 and certainly all versions after perl 5.004.
Give me a reason to keep buggy perl versions compatibility ! People still
running version prior of 5.005_3 does not really want perl running well so
why plperl :-)

If you are not agree with my last comment, just take a look to the change log
of the perl version history and you will understand what I mean (security, memory,
etc.) ...

Regards

Gilles DAROLD


pgsql-general by date:

Previous
From: Alfred Perlstein
Date:
Subject: Re: Limit on number of queries from CGI or PHP (security)
Next
From: Travis Bauer
Date:
Subject: pgsql and php 3.0.16 question