Skip site navigation (1) Skip section navigation (2)

Re: pre-MED

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 (view raw or flat)
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

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2008-10-31 17:43:11
Subject: Re: Window Functions: patch for CommitFest:Nov.
Previous:From: Kevin GrittnerDate: 2008-10-31 17:39:50
Subject: Re: Enabling archive_mode without restart

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group