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

From Pavel Stehule
Subject Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stm
Date
Msg-id BAY20-F51FE3F08E06F020CCDC92F9310@phx.gbl
Whole thread Raw
In response to Re: PLpgSQL: list of scalars as row for assign stmt, fore  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: PLpgSQL: list of scalars as row for assign stmt, fore  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stm  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
>>>    x, y := r;
>>
>>That strikes me as a really bad idea.  It weakens both syntax and
>>semantic error checking, to accomplish how much?
>
>Could use PHP-style thingy:
>
>LIST(x, y) := r;
>
>Chris
>

It's inconsystency :-(.

EXECUTE INTO and SELECT INTO use scalar of vectors without anything.

Pavel

_________________________________________________________________
Najdete si svou lasku a nove pratele na Match.com. http://www.msn.cz/


pgsql-patches by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: PLpgSQL: list of scalars as row for assign stmt, fore
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: PLpgSQL: list of scalars as row for assign stmt, fore