Re: plperl/plperlu interaction - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: plperl/plperlu interaction
Date
Msg-id 1890.24.211.165.134.1163123310.squirrel@www.dunslane.net
Whole thread Raw
In response to Re: plperl/plperlu interaction  (Mark Dilger <pgsql@markdilger.com>)
List pgsql-hackers
Mark Dilger wrote:
> Tom Lane wrote:
>> Andrew Dunstan <andrew@dunslane.net> writes:
>>> Anyway, it is probably not expected by many users that loading a
module
>>> in plperlu makes it available to plperl  - I was slightly surprised
myself to see it work and I am probably more aware than most of perl
and
>>> plperl subtleties.
>> I think that is a bug and needs to be fixed.  We have the precedent of
pltcl, which uses separate interpreters for pltcl and pltclu for
exactly
>> this reason.
>
> If this is fixed, what becomes the mechanism for an administrator to
make
> a perl
> module available to plperl functions?  I didn't see any other way to do
this
> documented.  Thanks,
>

This isn't documented either :-)

I discovered this when I was working on a way of doing this nicely and
safely. I hope to have that for 8.3.

cheers

andrew






pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Various breakages in new contrib/isn module
Next
From: "Pavan Deolasee"
Date:
Subject: Re: Frequent Update Project: Design Overview of HOT Updates