Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W23zP-0007h3-UO for pgsql-docs@arkaria.postgresql.org; Sat, 11 Jan 2014 19:13:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W23zP-0002RN-Do for pgsql-docs@arkaria.postgresql.org; Sat, 11 Jan 2014 19:12:59 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W23zO-0002RH-RP for pgsql-docs@postgresql.org; Sat, 11 Jan 2014 19:12:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W23zM-0001R6-IK for pgsql-docs@postgresql.org; Sat, 11 Jan 2014 19:12:58 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s0BJCn8Y024578; Sat, 11 Jan 2014 14:12:49 -0500 From: Tom Lane To: Bruce Momjian cc: Pavel Stehule , pgsql-docs Subject: Re: remove undocumented assign syntax from plpgsql doc In-reply-to: <20140111190246.GG28089@momjian.us> References: <20140111184106.GF28089@momjian.us> <24220.1389466350@sss.pgh.pa.us> <20140111190246.GG28089@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Sat, 11 Jan 2014 14:02:46 -0500" Date: Sat, 11 Jan 2014 14:12:49 -0500 Message-ID: <24577.1389467569@sss.pgh.pa.us> X-Pg-Spam-Score: -2.0 (--) 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 Bruce Momjian writes: > Oh, I think you are right. I have reverted the patch. Attached is > proposed documentation for '='. Meh. Variable initialization is only one of multiple cases (assignment, GET DIAGNOSTICS; maybe others, I've not examined the grammar). Also, if we do it like this, we're implying that both := and = are equally preferred, which might not be the impression we want to leave. I'd be a bit inclined to just stick a NOTE somewhere saying that "=" can be used in place of ":=" for assignment. regards, tom lane -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs