pgsql: Revert fd2ace802811c333b0b4e1a28b138fd4774745f3

Started by Bruce Momjianover 12 years ago3 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

Revert fd2ace802811c333b0b4e1a28b138fd4774745f3

Seems we want to document '=' plpgsql assignment instead.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d84c584ece6d882c3a45cacd056ca8635e963996

Modified Files
--------------
doc/src/sgml/plpgsql.sgml | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

#2Andrew Dunstan
andrew@dunslane.net
In reply to: Bruce Momjian (#1)
Re: pgsql: Revert fd2ace802811c333b0b4e1a28b138fd4774745f3

On 01/11/2014 02:01 PM, Bruce Momjian wrote:

Revert fd2ace802811c333b0b4e1a28b138fd4774745f3

Seems we want to document '=' plpgsql assignment instead.

It's less than best practice, IMNSHO, and if it's documented I'd prefer
it to be noted that it's deprecated and inconsistent with the upstream
languages.

cheers

andrew

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Andrew Dunstan (#2)
Re: pgsql: Revert fd2ace802811c333b0b4e1a28b138fd4774745f3

Andrew Dunstan <andrew@dunslane.net> writes:

On 01/11/2014 02:01 PM, Bruce Momjian wrote:

Seems we want to document '=' plpgsql assignment instead.

It's less than best practice, IMNSHO, and if it's documented I'd prefer
it to be noted that it's deprecated and inconsistent with the upstream
languages.

Well, as was noted in the other thread, that all depends on which
languages you think are "upstream" --- SQL itself, and SQL/PSM, do
not use ":=". I'm fine with saying that := is the preferred spelling,
but I think that calling "=" deprecated is overstating the case.

regards, tom lane

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers