Re: remove undocumented assign syntax from plpgsql doc

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: remove undocumented assign syntax from plpgsql doc
Дата
Msg-id 24577.1389467569@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: remove undocumented assign syntax from plpgsql doc  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: remove undocumented assign syntax from plpgsql doc  (Bruce Momjian <bruce@momjian.us>)
Re: remove undocumented assign syntax from plpgsql doc  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-docs
Bruce Momjian <bruce@momjian.us> writes:
> Oh, I think you are right.  I have reverted the patch.  Attached is
> proposed documentation for '='.

Meh.  Variable initialization is only one of multiple cases (assignment,
GET DIAGNOSTICS; maybe others, I've not examined the grammar).  Also,
if we do it like this, we're implying that both := and = are equally
preferred, which might not be the impression we want to leave.

I'd be a bit inclined to just stick a NOTE somewhere saying that "="
can be used in place of ":=" for assignment.

            regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: remove undocumented assign syntax from plpgsql doc
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: remove undocumented assign syntax from plpgsql doc