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

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

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pavel Stehule <pavel(dot)stehule(at)hotmail(dot)com>,pgsql-patches(at)postgresql(dot)org, neilc(at)samurai(dot)com
Subject: Re: PLpgSQL: list of scalars as row for assign stmt, fore
Date: 2005-12-21 01:26:35
Message-ID: 43A8AF4B.1090703@familyhealth.com.au (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


In response to

Responses

pgsql-patches by date

Next:From: David FetterDate: 2005-12-21 01:38:32
Subject: Re: PLpgSQL: list of scalars as row for assign stmt, fore
Previous:From: Tom LaneDate: 2005-12-20 22:18:49
Subject: Re: status of concurrent VACUUM patch ...

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