Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 25D4C63259E for ; Sat, 24 Jan 2009 07:18:42 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 60736-10 for ; Sat, 24 Jan 2009 07:18:39 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gmp-eb-inf-1.sun.com (gmp-eb-inf-1.sun.com [192.18.6.21]) by mail.postgresql.org (Postfix) with ESMTP id 240106322EE for ; Sat, 24 Jan 2009 07:18:38 -0400 (AST) Received: from fe-emea-10.sun.com (gmp-eb-lb-2-fe2.eu.sun.com [192.18.6.11]) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n0OBIOPj012332 for ; Sat, 24 Jan 2009 11:18:36 GMT Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0KDZ0030139RF600@fe-emea-10.sun.com> (original mail from Zdenek.Kotala@Sun.COM) for pgsql-hackers@postgresql.org; Sat, 24 Jan 2009 11:18:24 +0000 (GMT) Received: from [192.168.1.101] ([89.102.158.11]) by fe-emea-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0KDZ00G893ENLHD0@fe-emea-10.sun.com>; Sat, 24 Jan 2009 11:18:24 +0000 (GMT) Date: Sat, 24 Jan 2009 12:18:57 +0100 From: Zdenek Kotala Subject: Re: foreign_data test fails with non-C locale In-reply-to: <497A9F9F.6030600@dunslane.net> To: Andrew Dunstan Cc: Guillaume Smet , Tom Lane , Peter Eisentraut , Heikki Linnakangas , PostgreSQL-development Message-id: <1232795937.1385.7.camel@localhost> MIME-version: 1.0 X-Mailer: Evolution 2.24.2 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8BIT References: <49675B3F.20002@enterprisedb.com> <49675C87.8070303@dunslane.net> <49675E4E.1080805@gmx.net> <49676B8A.8020707@dunslane.net> <26314.1231518295@sss.pgh.pa.us> <1d4e0c10901090845h1d647297w68f6f9a70bb757ec@mail.gmail.com> <49678659.4040904@dunslane.net> <1232396014.1406.7.camel@localhost> <497A9F9F.6030600@dunslane.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200901/1792 X-Sequence-Number: 132436 Andrew Dunstan píše v pá 23. 01. 2009 v 23:57 -0500: > > Zdenek Kotala wrote: > > Andrew Dunstan píše v pá 09. 01. 2009 v 12:16 -0500: > > > > > >> Sure, we can easily have buildfarm's initdb step set any locale (and > >> encoding, for that matter) we like. That's a simple change. > >> > > > > Will be possible to set more locales and run tests without recompilation > > on all of them? For example I have installed all Solaris'es locales on > > my animal, but currently it means that I need perform whole cycle for > > each locale. > > > > I'm working on this. Yes, you will be able to specify a list of locales > to check. For each locale the following tests will be run: > installcheck, pl-installcheck, and contrib-installcheck. thanks > However, our tests are still a bit short of working across locales. Yes, they are. Peter cleaned up some of them, but there are still open issues. And MacOS has broken locale which is different problem. > PL-check gives the diff below on PLTCL tests under en_US locale. I guess > the simplest answer is to add an alternative result file. Yes, I thought about add locale suffix for alternative result file, but it could be useless overhead. But some tests can be modified. For example select * from T_pkey1 order by key1 using @<, key2; can be rewritten as select * from T_pkey1 order by key1 using @<, key2::name; Zdenek