Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VC6fj-0005Xh-Nu for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Aug 2013 11:33:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VC6fj-0007HX-7l for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Aug 2013 11:33:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VC6fi-0007HO-6y for pgsql-hackers@postgresql.org; Wed, 21 Aug 2013 11:33:54 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VC6fe-0005VY-QT for pgsql-hackers@postgresql.org; Wed, 21 Aug 2013 11:33:53 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1VC6fU-0005V7-Q9; Wed, 21 Aug 2013 07:33:40 -0400 Date: Wed, 21 Aug 2013 07:33:40 -0400 From: Bruce Momjian To: Vik Fearing Cc: Tom Lane , amutu@amutu.com, PostgreSQL-development Subject: Re: [BUGS] BUG #8335: trim() un-document behaviour Message-ID: <20130821113340.GC8193@momjian.us> References: <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> <52149734.2030905@dalibo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52149734.2030905@dalibo.com> 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 Wed, Aug 21, 2013 at 12:32:20PM +0200, Vik Fearing wrote: > 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. Interesting. I didn't realize HTML shows errors that 'make check' doesn't. Anyway, I have removed the second index reference, so the error should be gone now. Thanks for the report. -- 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