Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TMJVL-0005vE-0y for pgsql-sql@postgresql.org; Thu, 11 Oct 2012 14:12:51 +0000 Received: from mail231.strasbourg.4js.com ([92.103.31.231]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TMJVE-0000LT-UR for pgsql-sql@postgresql.org; Thu, 11 Oct 2012 14:12:50 +0000 Received: from [10.0.0.204] (orca.strasbourg.4js.com [10.0.0.204]) (authenticated bits=0) by mail231.strasbourg.4js.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q9BEChQE007073 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 11 Oct 2012 16:12:43 +0200 Message-ID: <5076D423.9090008@4js.com> Date: Thu, 11 Oct 2012 16:13:55 +0200 From: Sebastien FLAESCH Organization: Four Js Development Tools User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20111110 Lightning/1.0b1 Icedove/3.0.11 MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: Re: Database object names and libpq in UTF-8 locale on Windows References: <507689D4.3050804@4js.com> <29820.1349964228@sss.pgh.pa.us> In-Reply-To: <29820.1349964228@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97 at mail231 X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail231.strasbourg.4js.com [10.10.0.1]); Thu, 11 Oct 2012 16:12:43 +0200 (CEST) X-Pg-Spam-Score: -4.0 (----) X-Archive-Number: 201210/34 X-Sequence-Number: 36905 Tom, I don't think so because the pg_class schema table shows an empty relation name for the table created without double quoted identifier containing UTF-8 chars. Seb On 10/11/2012 04:03 PM, Tom Lane wrote: > Sebastien FLAESCH writes: >> - I can use UTF-8 string constants in my queries. >> - I can pass UTF-8 data to the database with parameterized queries. >> - I can fetch UTF-8 data from the database. >> - I can create db object names with UTF-8 characters. > >> But the db object names must be specified with double quotes: >> When I do not use quoted db object names, I get a strange problem. >> The table is created, I can use it in my program, I can even use it in the >> pgAdmin query tool, but in the pgAdmin db browser, there is no table name >> displayed in the treeview... > > That sounds like a pgAdmin bug. You should report it in the pgAdmin > mailing lists. > > regards, tom lane > >