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

Re: allowed variable names in functions?

From: "A B" <gentosaker(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: allowed variable names in functions?
Date: 2008-06-30 11:06:59
Message-ID: dbbf25900806300406g620a39calb4b5521a5cdd36c3@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-general
> But there not any problem with returning values with code like this
>
> DECLARE
>   retval  RECORD;
>
> retval.c2 := ....
> RETRUN NEXT retval;
>
> if c2 is a field on some table?

Oh, that seems also to be problematic.

In response to

pgsql-general by date

Next:From: A BDate: 2008-06-30 11:33:55
Subject: "The tuple structure of a not-yet-assigned record is indeterminate."
Previous:From: A BDate: 2008-06-30 11:01:19
Subject: Re: allowed variable names in functions?

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