Re: proposal for 8.3: Simultaneous assignment for - Mailing list pgsql-hackers

From andrew@dunslane.net
Subject Re: proposal for 8.3: Simultaneous assignment for
Date
Msg-id 2271.24.211.165.134.1154954238.squirrel@www.dunslane.net
Whole thread Raw
In response to Re: proposal for 8.3: Simultaneous assignment for PL/pgSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: proposal for 8.3: Simultaneous assignment for PL/pgSQL
Re: proposal for 8.3: Simultaneous assignment for PL/pgSQL
List pgsql-hackers
Tom Lane wrote:
> "Pavel Stehule" <pavel.stehule@hotmail.com> writes:
>> a,b,c := out3fce(1); -- Simultaneous assignment
>
> I thought we rejected that idea once already, on the grounds that it
> would make it too hard to tell the difference between intended code
> and typos.
>

In any case, I had some questions:

. is it compatible with PLSQL?
. can the effect be achieved by assigning to a composite?


cheers

andrew




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_upgrade (was: 8.2 features status)
Next
From: Tom Lane
Date:
Subject: Re: CSStorm occurred again by postgreSQL8.2