Re: Extensions vs. shared procedural language handler functions

From: Jan Urbański <wulczer(at)wulczer(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Extensions vs. shared procedural language handler functions
Date: 2011-03-05 01:19:07
Message-ID: 4D718F8B.5060202@wulczer.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 05/03/11 01:58, Tom Lane wrote:
> So while hacking away at the PLs-as-extension changes I ran across an
> unforeseen complication. plperl and plpython use the same C function
> entry points for both their trusted and untrusted variants. This is
> problematic for making them into extensions, since we need the two
> language variants to be different extensions (else you could not install
> just one of them) and the extensions can't both own the same handler
> function.

ITYM plperl only, because plpython does not have a trusted variant. But
there might be another obstacle here: plpython comes in two variants:
plpython2u and plpython3u, and which one is built depends on the compile
time configuration. Not sure how that plays with extensions...

Cheers,
Jan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-03-05 01:49:32 Re: Extensions vs. shared procedural language handler functions
Previous Message Tom Lane 2011-03-05 00:58:44 Extensions vs. shared procedural language handler functions