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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-general by date

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