From: | Gilles DAROLD <gilles(at)darold(dot)net> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: PL/Perl compilation error |
Date: | 2000-09-04 12:29:33 |
Message-ID: | 39B395AD.AF4E173@darold.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Hi,
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.
Also in Perl documentation you will find the answer for backward compatibility :
> The API function perl_get_sv("@",FALSE) should be used instead of directly accessing
> perl globals as GvSV(errgv). The API call is backward compatible with existing perls and
> provides source compatibility with threading is enabled.
It seems to be easily repared. I have no time yet but I will take a look as soon as possible.
Regards
Gilles
Alex Guryanow wrote:
> Hi,
>
> I have just installed Perl 5.6.0 and PostgreSQL 7.0.2. After successfull installation of both these
> programs I tried to make PL/Perl support. After running the commands from Postgres manual I have
> received the following errors
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tamsin | 2000-09-04 12:53:53 | permissions & foreign keys |
Previous Message | Zeljko Trogrlic | 2000-09-04 12:26:33 | Column name case conversion |
From | Date | Subject | |
---|---|---|---|
Next Message | Jan Wieck | 2000-09-04 14:16:42 | Re: RULE vs. SEQUENCE |
Previous Message | Karel Zak | 2000-09-04 12:05:05 | Re: RULE vs. SEQUENCE |