pg_database encoding again

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема pg_database encoding again
Дата
Msg-id 122d01c328ac$56c828b0$6500a8c0@fhp.internal
обсуждение исходный текст
Ответы Re: pg_database encoding again  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi Guys,

I really need a solution to this one :(

What is the encoding of the database names in the pg_database table?  As far
as I can tell, each row is saved in the encoding of the database from which
it is created?  In my application, the actual names change from gobbledygook
to proper japanese or russian say, as I change the encoding of the page
through each database encoding.

How on earth can I display all the names at once?  Is it even possible?
What if I go:

SET CLIENT_ENCODING TO 'UNICODE';
SELECT * FROM pg_database;

That doesn't really seem to work that well though...

Chris



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Table-driven SHOW (was Re: Are we losing momentum?)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: default locale considered harmful? (was Re: [GENERAL]