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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-patches by date

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