> 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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to