Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W3XC8-0005Dp-1D for pgsql-docs@arkaria.postgresql.org; Wed, 15 Jan 2014 20:36:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W3XC7-0007Id-GZ for pgsql-docs@arkaria.postgresql.org; Wed, 15 Jan 2014 20:36:11 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W3XC5-0007Gm-P2 for pgsql-docs@postgresql.org; Wed, 15 Jan 2014 20:36:09 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W3XC2-0006Ph-KU for pgsql-docs@postgresql.org; Wed, 15 Jan 2014 20:36:08 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1W3XC0-0008DQ-HK; Wed, 15 Jan 2014 15:36:04 -0500 Date: Wed, 15 Jan 2014 15:36:04 -0500 From: Bruce Momjian To: Pavel Stehule Cc: Tom Lane , pgsql-docs Subject: Re: remove undocumented assign syntax from plpgsql doc Message-ID: <20140115203604.GA30822@momjian.us> References: <20140113025904.GB22464@momjian.us> <20140113140433.GA7868@momjian.us> <20140114202128.GA7761@momjian.us> <20140115153535.GA7607@momjian.us> <20140115163259.GA12704@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On Wed, Jan 15, 2014 at 05:39:22PM +0100, Pavel Stehule wrote: > I don't understand last sentence of comment > >  ! /* > !  * Ada-based PL/SQL uses := for assignment and variable defaults, while > !  * the SQL standard uses equals for these cases and for GET > !  * DIAGNOSTICS, so we support both.  FOR and OPEN only support :=. > !  */ > ! assign_operator    : '=' > > "FOR and OPEN only support :=" > > FOR statement nor OPEN statement doesn't use ":=" Uh, I see it in the documented syntax: OPEN bound_cursorvar ( argument_name := <--- argument_value FOR recordvar IN bound_cursorvar ( argument_name := <--- argument_value -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs