Skip site navigation (1) Skip section navigation (2)

Re: New PL/Perl failure with Safe 2.2x due to recursion (8.x & 9.0)

From: Alex Hunsaker <badalex(at)gmail(dot)com>
To: Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, "David E(dot) Wheeler" <david(dot)wheeler(at)pgexperts(dot)com>
Subject: Re: New PL/Perl failure with Safe 2.2x due to recursion (8.x & 9.0)
Date: 2010-02-25 06:34:18
Message-ID: 34d269d41002242234h20b16750t87bba62c681bad4a@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-bugs
On Wed, Feb 24, 2010 at 22:01, Alex Hunsaker <badalex(at)gmail(dot)com> wrote:
> Ok I can get behind this.  I did some testing and we could probably
> even store less than than that if we could do the equivalent of:
> Safe->share('::mksafefunc');
> pl_perl_createsub()
> Safe->unshare('::mksafefunc');

On 2nd thought this basically requires your fix anyway.  To make it so
you can share something in safe from within safe means we will need to
enable more opcodes there... so it would end up being the same
solution.

In response to

pgsql-bugs by date

Next:From: Toni HeleniusDate: 2010-02-25 06:58:53
Subject: Re: BUG #5338: PG_DUMP fails due to invalid adnum value
Previous:From: Alex HunsakerDate: 2010-02-25 05:01:34
Subject: Re: New PL/Perl failure with Safe 2.2x due to recursion (8.x & 9.0)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group