From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Cast as compound type |
Date: | 2008-03-30 20:15:24 |
Message-ID: | 20080330201524.GB12289@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sun, Mar 30, 2008 at 10:00:33PM +0200, Pavel Stehule wrote:
> Hello
>
> maybe I don't understand well your idea. There exist simple syntax -
> table function
>
> http://archives.postgresql.org/pgsql-patches/2007-02/msg00341.php
>
> and it is standard
It's completely different from your patch, which specifies the return
type at the time you create the function.
This idea takes functions which return SETOF RECORD, that is functions
which determine their return type at run time instead of create time,
and short-cuts the cast that you need to do at run time.
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-03-30 20:36:13 | Re: Submission of Feature Request : RFC- for Implementing Transparent Data Encryption in Postgres |
Previous Message | Pavel Stehule | 2008-03-30 20:00:33 | Re: Cast as compound type |