Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stms - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stms
Date
Msg-id 30374.68.143.134.146.1135100277.squirrel@www.dunslane.net
Whole thread Raw
In response to Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stms  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stm  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
List pgsql-patches
Tom Lane said:
> "Pavel Stehule" <pavel.stehule@hotmail.com> writes:
>>     x, y := r;
>
> That strikes me as a really bad idea.  It weakens both syntax and
> semantic error checking, to accomplish how much?
>


Where does the idea come from anyway? Has it been discussed on -hackers? I
don't recall seeing it. Just sending in a patch for a "feature" you think is
a good idea seems like a sub-optimal process.

cheers

andrew




pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stms
Next
From: "Jim C. Nasby"
Date:
Subject: Re: [BUGS] Solaris cc compiler on amd: PostgreSQL does not