Re: pgsql: Revert fd2ace802811c333b0b4e1a28b138fd4774745f3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Revert fd2ace802811c333b0b4e1a28b138fd4774745f3
Дата
Msg-id 13836.1389478059@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Revert fd2ace802811c333b0b4e1a28b138fd4774745f3  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-committers
Andrew Dunstan <andrew@dunslane.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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgsql: Revert fd2ace802811c333b0b4e1a28b138fd4774745f3
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Disallow LATERAL references to the target table of an UPDATE/DEL