On Fri, Oct 31, 2008 at 01:37:00PM -0400, Robert Haas wrote:
> > 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.
It's not clear how that would work. If you have ideas, please say :)
Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate