Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W9jSX-0002lS-Qr for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Feb 2014 22:54:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W9jSX-0004It-6i for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Feb 2014 22:54:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W9jSW-0004Im-6R for pgsql-bugs@postgresql.org; Sat, 01 Feb 2014 22:54:44 +0000 Received: from mail-ee0-x231.google.com ([2a00:1450:4013:c00::231]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W9jST-0000e8-Go for pgsql-bugs@postgresql.org; Sat, 01 Feb 2014 22:54:43 +0000 Received: by mail-ee0-f49.google.com with SMTP id d17so2930411eek.22 for ; Sat, 01 Feb 2014 14:54:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=XpqjAlaz3+Mef4tuYvszBS8Lv5wniW1lQh9+IXvMzkI=; b=ZV78XsIjc3Ad46+Kch1If73mvu6JL1rFkItm9WBsVxNxFaqrY/26+6Ze8SJplzZEKH TWD6FuvIZnzwlpG2O5D5EO37W2gyAFJdHejvann/u1FiIvOpZis58o1e1oLeWPN6C6do /sRmZrOeY7x70O26sHJrXUyFsYW2qsTy+6aMxdS//fa4jGkzN2UaQ6mtum6qoP+zOxdU t0unRv0IbACO02Gw5+r3dW8RsBQS4W7LYXBG7GSTh0BEgxTTUN3cRifPi22h/ukhGv3N GA6Brn78MShZzQCW144HsAK4furGbM9mAzme2wBxpezMgafXW7HLBsTozJvlPKc3hv5G lNiQ== X-Received: by 10.15.54.72 with SMTP id s48mr33249560eew.3.1391295279486; Sat, 01 Feb 2014 14:54:39 -0800 (PST) Received: from [192.168.2.112] (p5B17402E.dip0.t-ipconnect.de. [91.23.64.46]) by mx.google.com with ESMTPSA id k41sm44202481een.19.2014.02.01.14.54.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 01 Feb 2014 14:54:38 -0800 (PST) Message-ID: <52ED7B2A.4010608@gmail.com> Date: Sat, 01 Feb 2014 23:54:34 +0100 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Tom Lane CC: pgsql-bugs@postgresql.org Subject: Re: BUG #8970: ts_parse incorrectly split numbers in digit token 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> In-Reply-To: <15800.1391293631@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.0 (--) 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 On 01/02/2014 23:27, Tom Lane wrote: > Marco Atzeri writes: >> Eventually it was assumed that size of a wide char is always 32 bit ? > > 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? > > regards, tom lane > tested on 9.3.2 with LANG=en_US.UTF-8 tsearch ... ok Thanks Marco -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs