Re: Strange behavior of "=" as assignment operator

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Strange behavior of "=" as assignment operator
Дата
Msg-id 1370122048.6266.YahooMailNeo@web162902.mail.bf1.yahoo.com
обсуждение исходный текст
Ответ на Re: Strange behavior of "=" as assignment operator  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> wrote:

> The SQL standard uses "=" for assignment in other contexts,
> most notably UPDATE, but also the SQL/PSM standard uses it in
> <assignment statement> which is the exact same thing as in
> pl/pgsql.  So while purists might wish we only accepted :=, doing
> so would be inconsistent with SQL.
>
> I think we should just document it and move on.

+1

--
Kevin Grittner
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Insert with query
Следующее
От: Matt Daw
Дата:
Сообщение: Differences in Unicode handling on Mac vs Linux?