Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBykg-00038T-Ka for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Nov 2016 06:52:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cBykg-0003vT-2u for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Nov 2016 06:52:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cByk1-0003Cy-5g for pgsql-bugs@postgresql.org; Wed, 30 Nov 2016 06:51:41 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cByjy-000625-O4 for pgsql-bugs@postgresql.org; Wed, 30 Nov 2016 06:51:40 +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 uAU6pa5a018217; Wed, 30 Nov 2016 01:51:36 -0500 From: Tom Lane To: mark pether cc: David Gould , pgsql-bugs@postgresql.org Subject: Re: BUG #14441: trim function bug (hit a keyword somewhere internally) In-reply-to: References: <20161130011710.6539.53657@wrigleys.postgresql.org> <20161129220932.123e13a1@engels> Comments: In-reply-to mark pether message dated "Wed, 30 Nov 2016 17:16:16 +1100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18215.1480488696.1@sss.pgh.pa.us> Date: Wed, 30 Nov 2016 01:51:36 -0500 Message-ID: <18216.1480488696@sss.pgh.pa.us> X-Pg-Spam-Score: -4.8 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org mark pether writes: > Sorry, I misread the document it's not a bug, doco was unclear. > It replaces the largest match which may be all characters or simply > individual characters. I realised this after I created the bug. Hmm, yeah, docs fail to make clear what happens with a multicharacter trim spec. I think we could fix this with a better example. Will do something about it. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs