Re: PL/Perl compilation error

Gilles Darold <gilles@darold.net>

From: Gilles DAROLD <gilles@darold.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, pgsql-general@postgresql.org
Date: 2000-10-17T10:52:58Z
Lists: pgsql-hackers
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