Re: pgsql: Revert fd2ace802811c333b0b4e1a28b138fd4774745f3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Revert fd2ace802811c333b0b4e1a28b138fd4774745f3
Date: 2014-01-11 22:07:39
Message-ID: 13836.1389478059@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> On 01/11/2014 02:01 PM, Bruce Momjian wrote:
>> Seems we want to document '=' plpgsql assignment instead.

> It's less than best practice, IMNSHO, and if it's documented I'd prefer
> it to be noted that it's deprecated and inconsistent with the upstream
> languages.

Well, as was noted in the other thread, that all depends on which
languages you think are "upstream" --- SQL itself, and SQL/PSM, do
not use ":=". I'm fine with saying that := is the preferred spelling,
but I think that calling "=" deprecated is overstating the case.

regards, tom lane

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-01-12 00:03:40 pgsql: Disallow LATERAL references to the target table of an UPDATE/DEL
Previous Message Andrew Dunstan 2014-01-11 21:57:04 Re: pgsql: Revert fd2ace802811c333b0b4e1a28b138fd4774745f3