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

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

From: "Pavel Stehule" <pavel(dot)stehule(at)hotmail(dot)com>
To: chriskl(at)familyhealth(dot)com(dot)au, tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: pgsql-patches(at)postgresql(dot)org, neilc(at)samurai(dot)com
Subject: Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stm
Date: 2005-12-21 03:54:43
Message-ID: BAY20-F51FE3F08E06F020CCDC92F9310@phx.gbl (view raw or flat)
Thread:
Lists: 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/


In response to

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2005-12-21 04:04:51
Subject: Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stm
Previous:From: David FetterDate: 2005-12-21 01:38:32
Subject: Re: PLpgSQL: list of scalars as row for assign stmt, fore

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