Re: using = in a function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: using = in a function
Дата
Msg-id 11155.1201574468@sss.pgh.pa.us
обсуждение исходный текст
Ответ на using = in a function  (Andy Colson <andy@squeakycode.net>)
Ответы Re: using = in a function  (Raymond O'Donnell <rod@iol.ie>)
Список pgsql-general
Andy Colson <andy@squeakycode.net> writes:
> An assignment of a value to a PL/pgSQL variable or row/record field is
> written as:
> variable := expression;

> Notice I just use = and not :=.

> My question is, is there a difference?  It seems to work both ways, so
> I'm a little confused.

Yeah, plpgsql actually allows both, but it's not documented.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Table has duplicate keys, what did I do
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 8.3RC2 vs 8.2.6 testing results