Re: pre-MED - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pre-MED
Date
Msg-id 603c8f070810311037p4e42ccbeqc76320416332dc17@mail.gmail.com
Whole thread Raw
In response to Re: pre-MED  (David Fetter <david@fetter.org>)
Responses Re: pre-MED
List pgsql-hackers
> Please find attached a patch which works in PL/Perl, the work having
> been done by Andrew (RhodiumToad) Gierth.  It's not clear to me how
> this would be generally surface-able to SQL, though.  Any ideas?
>
> CREATE OR REPLACE FUNCTION show_qual()
> RETURNS TEXT
> LANGUAGE plperl
> AS $$
> return $_QUAL->{qual_string};
> $$;

I thought the point here was to change the basic interface to an SQL
function which PL/perl or any other language could access in the usual
way.  All this does is keep the strange, magical interface but then
use PL/perl to put a more normal looking wrapper around it.

...Robert


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Window Functions: patch for CommitFest:Nov.
Next
From: Tom Lane
Date:
Subject: Re: Changing the result of ExecutorRun