plpgsql, return can contains any expression

From: "Pavel Stehule" <pavel(dot)stehule(at)hotmail(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Cc: bruce(at)momjian(dot)us, tgl(at)sss(dot)pgh(dot)pa(dot)us, neilc(at)samurai(dot)com
Subject: plpgsql, return can contains any expression
Date: 2006-08-23 12:42:47
Message-ID: BAY20-F20D63910E175FD537D9DC1F9470@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Hello,

this patch allow any expression in return statement and it does simply
casting from non type record into typed records. Allows same casting as
assign statement.

Regards
Pavel Stehule

>From: Bruce Momjian <bruce(at)momjian(dot)us>
>To: Pavel Stehule <pavel(dot)stehule(at)hotmail(dot)com>
>CC: tgl(at)sss(dot)pgh(dot)pa(dot)us, neilc(at)samurai(dot)com
>Subject: Re: near future plpgsql?
>Date: Wed, 23 Aug 2006 08:25:18 -0400 (EDT)
>
>Pavel Stehule wrote:
> > Hello,
> >
> > I had talk with Neil and I knew so Neil forgot on my patch
> > http://archives.postgresql.org/pgsql-patches/2005-11/msg00045.php . I
>want
> > to resend this patch again, but this patch is in conflict with cancelled
> > "lookahead" patch. Can I work on it? My patch was sent before feature
> > frease. But I prefere apply it after "lookahead" patch.
> >
> > your recommendation?
>
>Yes, please send an updated version. Sorry we forgot about it. I try
>to keep patches around until someone does apply it, but didn't do that
>in this case.
>
>--
> Bruce Momjian bruce(at)momjian(dot)us
> EnterpriseDB http://www.enterprisedb.com
>
> + If your life is a hard drive, Christ can be your backup. +

_________________________________________________________________
Citite se osamele? Poznejte nekoho vyjmecneho diky Match.com.
http://www.msn.cz/

Attachment Content-Type Size
return.diff text/x-patch 14.7 KB

Browse pgsql-patches by date

  From Date Subject
Next Message Zdenek Kotala 2006-08-23 12:44:19 Re: Allow commenting of variables in postgresql.conf to -
Previous Message Tom Lane 2006-08-23 12:24:55 Re: [HACKERS] COPY view