Re: PL/Perl trusted throws error on example function

From: Frank Finner <postgresql(at)finner(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: postgresql(at)finner(dot)de, pgsql-general(at)postgresql(dot)org
Subject: Re: PL/Perl trusted throws error on example function
Date: 2005-03-03 18:13:46
Message-ID: 20050303191346.65da6f9c.postgresql@finner.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Tom,

I found an error right between my ears,

means, I had looked at the client__s version of Safe, not thinking
about the fact that I was connected to the database on a server which
actually had Safe installed only with version 2.07. I upgraded Safe now
from CPAN on my server and everything works fine now.

Thanks for your help, it opened my eyes.

Regards, Frank

On Thu, 03 Mar 2005 12:14:53 -0500 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> thought
long, then sat down and wrote:

> Frank Finner <postgresql(at)finner(dot)de> writes:
> > error from Perl function: trusted Perl functions disabled - please
> > upgrade Perl Safe module to version 2.09 or later at (eval 4) line
> > 1.
>
> What do you get from
> perl -e 'require Safe; print "$Safe::VERSION\n"'
>
> regards, tom lane

--
Frank Finner

Invenius - Lösungen mit Linux
Köpfchenstraße 36
57072 Siegen
Telefon: 0271 231 8606 Mail: frank(dot)finner(at)invenius(dot)de
Telefax: 0271 231 8608 Web: http://www.invenius.de
Key fingerprint = 90DF FF40 582E 6D6B BADF 6E6A A74E 67E4 E788 2651

In response to

Browse pgsql-general by date

  From Date Subject
Next Message L. Fletcher 2005-03-03 18:19:59 unexpected 'aggregates not allowed in where clause' error
Previous Message Tom Lane 2005-03-03 17:14:53 Re: PL/Perl trusted throws error on example function