Re: remove undocumented assign syntax from plpgsql doc

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: remove undocumented assign syntax from plpgsql doc
Date: 2014-01-11 19:46:58
Message-ID: 25081.1389469618@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Bruce Momjian <bruce(at)momjian(dot)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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Pavel Stehule 2014-01-11 21:06:27 Re: remove undocumented assign syntax from plpgsql doc
Previous Message Bruce Momjian 2014-01-11 19:39:07 Re: remove undocumented assign syntax from plpgsql doc