Colon Omitted From pgSQL Assignments

Поиск
Список
Период
Сортировка
От Charles Sheridan
Тема Colon Omitted From pgSQL Assignments
Дата
Msg-id 55D3522B.1050508@swbell.net
обсуждение исходный текст
Ответы Re: Colon Omitted From pgSQL Assignments  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Hi,

I was looking at PL/pgSQL documentation and realized that contrary to
spec, I've been omitting the colon ':' from assignments, e.g. writing
  'x  = 5' rather than the correct  'x := 5'

I don't see any error messages about this.

I am not aware of any problems due to this.  I suppose that if a
condition precedes this syntax, the code could be interpreted as an
equals test.

Should I immediately update all assignments ?

Are there known scenarios where this error becomes a problem ?

Regards, Charles






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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Configure with thread sanitizer fails the thread test
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Colon Omitted From pgSQL Assignments