From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pre-MED |
Date: | 2008-10-31 17:40:12 |
Message-ID: | 20081031174012.GK15545@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-10-31 17:43:11 | Re: Window Functions: patch for CommitFest:Nov. |
Previous Message | Kevin Grittner | 2008-10-31 17:39:50 | Re: Enabling archive_mode without restart |