Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W9jYg-00033J-SD for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Feb 2014 23:01:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W9jYg-00059N-5A for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Feb 2014 23:01:06 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W9jYf-00059F-7X for pgsql-bugs@postgresql.org; Sat, 01 Feb 2014 23:01:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W9jYd-0008Df-1A for pgsql-bugs@postgresql.org; Sat, 01 Feb 2014 23:01:04 +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 s11N117A016580; Sat, 1 Feb 2014 18:01:01 -0500 From: Tom Lane To: Marco Atzeri cc: pgsql-bugs@postgresql.org Subject: Re: BUG #8970: ts_parse incorrectly split numbers in digit token In-reply-to: <52ED7B2A.4010608@gmail.com> References: <20140125065024.26700.13481@wrigleys.postgresql.org> <20140126022535.GG10723@eldon.alvh.no-ip.org> <52E4C2F3.5020705@gmail.com> <3433.1390757236@sss.pgh.pa.us> <52ED5627.4070005@gmail.com> <15800.1391293631@sss.pgh.pa.us> <52ED7B2A.4010608@gmail.com> Comments: In-reply-to Marco Atzeri message dated "Sat, 01 Feb 2014 23:54:34 +0100" Date: Sat, 01 Feb 2014 18:01:01 -0500 Message-ID: <16579.1391295661@sss.pgh.pa.us> X-Pg-Spam-Score: -2.4 (--) 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 Marco Atzeri writes: > On 01/02/2014 23:27, Tom Lane wrote: >> Hm. It looks like there's an entirely unnecessary assumption that wchar_t >> and wint_t are the same width. Does the attached patch make things better >> for you? > tested on 9.3.2 with LANG=en_US.UTF-8 > tsearch ... ok Excellent, I'll go commit this. 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