Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V9ibI-0000zv-TM for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Aug 2013 21:27:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V9ibI-0007f7-DO for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Aug 2013 21:27:28 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V9ibH-0007ez-Cz for pgsql-hackers@postgresql.org; Wed, 14 Aug 2013 21:27:27 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V9ibF-0005tr-0d for pgsql-hackers@postgresql.org; Wed, 14 Aug 2013 21:27:26 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1V9ibC-00056r-0N; Wed, 14 Aug 2013 17:27:22 -0400 Date: Wed, 14 Aug 2013 17:27:22 -0400 From: Bruce Momjian To: Tom Lane Cc: amutu@amutu.com, PostgreSQL-development Subject: Re: [BUGS] BUG #8335: trim() un-document behaviour Message-ID: <20130814212721.GA12857@momjian.us> References: <20130807161953.GZ11189@momjian.us> <19166.1376060775@sss.pgh.pa.us> <20130809162359.GA3353@momjian.us> <20130812141144.GA12510@momjian.us> <21732.1376330108@sss.pgh.pa.us> <22386.1376331481@sss.pgh.pa.us> <20130812202910.GE12510@momjian.us> <26073.1376341103@sss.pgh.pa.us> <20130812211930.GG12510@momjian.us> <20130813033138.GH12510@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130813033138.GH12510@momjian.us> User-Agent: Mutt/1.5.20 (2009-06-14) 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 On Mon, Aug 12, 2013 at 11:31:38PM -0400, Bruce Momjian wrote: > On Mon, Aug 12, 2013 at 05:19:30PM -0400, Bruce Momjian wrote: > > Attached are docs that add the new syntax, and mention it is > > non-standard; you can see the output here: > > > > http://momjian.us/tmp/pgsql/functions-string.html#FUNCTIONS-STRING-SQL > > > > We do document three syntaxes for substring() in the same table, one row > > for each, so there is precedent for doing this. > > Attached is an updated patch with a proper example. I could move the > extra syntax into the description of the existing trim entry instead. Patch applied to head. I did not apply this to 9.3 in case we change our minds about documenting this. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. + -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers