Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8wL6-0003ym-KQ for pgsql-hackers@arkaria.postgresql.org; Mon, 12 Aug 2013 17:55:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V8wL5-0005nc-Vx for pgsql-hackers@arkaria.postgresql.org; Mon, 12 Aug 2013 17:55:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8wL4-0005nS-O7 for pgsql-hackers@postgreSQL.org; Mon, 12 Aug 2013 17:55:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8wL2-0007ui-08 for pgsql-hackers@postgreSQL.org; Mon, 12 Aug 2013 17:55:30 +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 r7CHt8e0021733; Mon, 12 Aug 2013 13:55:08 -0400 From: Tom Lane To: Bruce Momjian cc: amutu@amutu.com, PostgreSQL-development Subject: Re: [BUGS] BUG #8335: trim() un-document behaviour In-reply-to: <20130812141144.GA12510@momjian.us> References: <20130807161953.GZ11189@momjian.us> <19166.1376060775@sss.pgh.pa.us> <20130809162359.GA3353@momjian.us> <20130812141144.GA12510@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Mon, 12 Aug 2013 10:11:44 -0400" Date: Mon, 12 Aug 2013 13:55:08 -0400 Message-ID: <21732.1376330108@sss.pgh.pa.us> X-Pg-Spam-Score: -4.7 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Bruce Momjian writes: > Based on my research, I am now proposing a new, attached patch which > eliminates comma in all places in TRIM, This will break even more stuff than the last patch, ie, every single stored rule or view that contains a TRIM function. You can *not* eliminate, or mess with, the expr_list production, because that's what dumping of these function calls relies on. It's easily a dozen years too late to change this, Bruce. Please just think about documenting the underlying functions, if you feel a need to do anything here. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers