Re: BUG #6165: documentation bug in plpgsql-declarations.html and plpgsql-statements.html (or plpgsql parser bug) - Mailing list pgsql-bugs

From Robert Haas
Subject Re: BUG #6165: documentation bug in plpgsql-declarations.html and plpgsql-statements.html (or plpgsql parser bug)
Date
Msg-id CA+TgmoaPxqmuh=_4Y5TSHg=0Yp2xePnpfcvoeYihmD75wcVadA@mail.gmail.com
Whole thread Raw
In response to BUG #6165: documentation bug in plpgsql-declarations.html and plpgsql-statements.html (or plpgsql parser bug)  ("raf" <raf@raf.org>)
Responses Re: BUG #6165: documentation bug in plpgsql-declarations.html and plpgsql-statements.html (or plpgsql parser bug)
List pgsql-bugs
On Wed, Aug 17, 2011 at 1:21 AM, raf <raf@raf.org> wrote:
> so, there is either a plpgsql parser bug that treats the sql equality
> operator as the plpgsql assignment operator, or "=" is an undocumented
> alternative to the documented plpgsql assignment operator (":=").

I think it's the latter.  I have a vague recollection that we might
have left that undocumented on purpose, but I'm not actually sure why
we support it in the first place.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-bugs by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: BUG #6172: DROP EXTENSION error without CASCADE
Next
From: Peter Eisentraut
Date:
Subject: Re: BUG #5963: make -j4 check fails