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

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: raf <raf(at)raf(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6165: documentation bug in plpgsql-declarations.html and plpgsql-statements.html (or plpgsql parser bug)
Date: 2011-08-22 16:34:15
Message-ID: CA+TgmoaPxqmuh=_4Y5TSHg=0Yp2xePnpfcvoeYihmD75wcVadA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Aug 17, 2011 at 1:21 AM, raf <raf(at)raf(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2011-08-22 16:37:43 Re: BUG #5963: make -j4 check fails
Previous Message Dimitri Fontaine 2011-08-22 15:02:33 Re: BUG #6172: DROP EXTENSION error without CASCADE