Re: PL/pgSQL 'i = i + 1' Syntax
От | David Wheeler |
---|---|
Тема | Re: PL/pgSQL 'i = i + 1' Syntax |
Дата | |
Msg-id | 180C9975-87DE-45AB-A364-E97ADC8D2DDA@kineticode.com обсуждение исходный текст |
Ответ на | PL/pgSQL 'i = i + 1' Syntax (David Wheeler <david@kineticode.com>) |
Ответы |
Re: PL/pgSQL 'i = i + 1' Syntax
|
Список | pgsql-hackers |
On May 16, 2006, at 16:53, Mark Dilger wrote: > Sorry, I meant to say that it should only be a no-op according to > the language > specification, as I understand it. The fact that it works suggests > to me that > the implementation of PL/pgsql has been modified (or broken?). > Whether the > change is a bug or an intentional feature change, I don't know. Ah, yes, I agree, and that's why I posted my query. > mark > > P.S., Looking through the documentation, I don't immediately see > the spec for > how a regular '=' is supposed to work, but assignment is documented > as using the > ':=' syntax and says nothing about '='. Exactly. But I use = all the time for comparision: IF FOUND = TRUE THEN .... END IF Best, David
В списке pgsql-hackers по дате отправления: