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