Re: pre-MED - Mailing list pgsql-hackers

From Alex Hunsaker
Subject Re: pre-MED
Date
Msg-id 34d269d40811031908m7340cde2g50c85e70a9465b5c@mail.gmail.com
Whole thread Raw
In response to Re: pre-MED  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pre-MED  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Oct 30, 2008 at 05:16, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> David Fetter <david@fetter.org> writes:
>> On Wed, Oct 29, 2008 at 10:23:36PM -0400, Tom Lane wrote:
>>> I would argue that it's already designed wrong if there's need for
>>> PL-specific implementation effort.
>
>> I'm not sure how else to do this.  The current implementation returns
>> char *, which doesn't translate uniformly into the PLs.
>
> Surely they all have a way to call a SQL function that returns text.

Sure but when you call that function you get *that* functions
qualifier.  And unless there already is a way to grab the "parent"
query qualifiers, the PL specific hacks seem not so bad and very
similar to how we have to build trigger arguments for every PL
already.


pgsql-hackers by date:

Previous
From: "Alex Hunsaker"
Date:
Subject: Re: pre-MED
Next
From: "Alex Hunsaker"
Date:
Subject: Re: auto_explain contrib moudle