Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VC5ib-00037a-GD for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Aug 2013 10:32:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VC5ia-0000XO-32 for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Aug 2013 10:32:48 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VC5iX-0000XC-Kr for pgsql-hackers@postgresql.org; Wed, 21 Aug 2013 10:32:45 +0000 Received: from mimolette.dalibo.net ([212.85.154.222]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VC5iT-0004zm-Mz for pgsql-hackers@postgresql.org; Wed, 21 Aug 2013 10:32:44 +0000 Received: from [192.168.0.38] (ip-68.net-81-220-133.standre.rev.numericable.fr [81.220.133.68]) by mimolette.dalibo.net (Postfix) with ESMTPSA id 23DA44502842; Wed, 21 Aug 2013 12:32:39 +0200 (CEST) Message-ID: <52149734.2030905@dalibo.com> Date: Wed, 21 Aug 2013 12:32:20 +0200 From: Vik Fearing User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Bruce Momjian CC: Tom Lane , amutu@amutu.com, PostgreSQL-development Subject: Re: [BUGS] BUG #8335: trim() un-document behaviour 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> <20130814212721.GA12857@momjian.us> In-Reply-To: <20130814212721.GA12857@momjian.us> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) 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 08/14/2013 11:27 PM, Bruce Momjian wrote: > 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. This commit introduced the following: doc$ make -s html Processing HTML.index... 2409 entries loaded... collateindex.pl: duplicated index entry found: TRIM 1 entries ignored... Done. -- Vik -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers