Re: Database object names and libpq in UTF-8 locale on Windows

From: Sebastien FLAESCH <sf(at)4js(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Database object names and libpq in UTF-8 locale on Windows
Date: 2012-10-11 14:13:55
Message-ID: 5076D423.9090008@4js.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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<sf(at)4js(dot)com> 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
>
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Gavin Flower 2012-10-11 20:25:14 Re: checking the gaps in intervals
Previous Message Tom Lane 2012-10-11 14:03:48 Re: Database object names and libpq in UTF-8 locale on Windows