Re: PL/Perl compilation error

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: gilles(at)darold(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PL/Perl compilation error
Date: 2000-10-16 16:50:47
Message-ID: 200010161650.MAA15526@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Can you send me a patch?

> 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
> >
>
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-10-16 17:02:34 Re: Tips for investigating DBMS failure
Previous Message Karl DeBisschop 2000-10-16 16:50:03 Tips for investigating DBMS failure

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-10-16 16:53:20 Re: Ответ: [HACKERS] Possible performance improvement: buffer replacement policy
Previous Message Bruce Momjian 2000-10-16 16:45:52 Re: Full text indexing (Question/request)