Re: remove undocumented assign syntax from plpgsql doc

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: remove undocumented assign syntax from plpgsql doc
Дата
Msg-id 25081.1389469618@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: remove undocumented assign syntax from plpgsql doc  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-docs
Bruce Momjian <bruce@momjian.us> writes:
> OK, here is an updated doc patch that does that.

You're still only touching the variable-initialization case, which seems
like the least important place to document it.  I'd have put it with
the assignment-statement documentation.  Perhaps something like

    <note>
     <para>
      Here, and in other contexts such as variable initialization,
      the assignment operator can be written <literal>=</> as well
      as <literal>:=</>.  The latter is the preferred spelling, though.
     </para>
    </note>

> The next question is
> whether we want examples using '=' instead of ':='?  Right now we have
> them, and Pavel's patch removed them.

AFAIR, we have some of both, and I'm fine with that status quo.

            regards, tom lane


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

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