Re: plpgsql, declare blocks, and '=' versus ':=' - Mailing list pgsql-docs

From Alvaro Herrera
Subject Re: plpgsql, declare blocks, and '=' versus ':='
Date
Msg-id 20080711170803.GF4110@alvh.no-ip.org
Whole thread Raw
In response to plpgsql, declare blocks, and '=' versus ':='  (James Robinson <jlrobins@socialserve.com>)
List pgsql-docs
James Robinson wrote:
> It seems that [ in 8.2.9 at least ], in a plpgsql declare block,
> assignment to declared variable can use either the proper ':=' operator
> or the unexpected and undocumented '=' operator. See following script.
> The magic handling of '=' ought to get documented at least.
>
> [ plpgsql-declarations.html makes no mention of '=' token handling in
> either 8.3 or 8.2. docs ]

Yes.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-docs by date:

Previous
From: James Robinson
Date:
Subject: plpgsql, declare blocks, and '=' versus ':='
Next
From: Robert Treat
Date:
Subject: triggers on views?