Re: garbage in psql -l

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: garbage in psql -l
Дата
Msg-id 9837222c0911250642o783c10a3p88808534409b2b7e@mail.gmail.com
обсуждение исходный текст
Ответ на Re: garbage in psql -l  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: garbage in psql -l
Список pgsql-hackers
On Wed, Nov 25, 2009 at 15:41, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> FWIW, this patch also *completely* breaks the default windows
>> installs, which will have the database in UTF-8 but there is *never*
>> any UTF-8 support on the console (only UTF-16).
>
> Hmm ... so how do we work with utf-8 data in the database?  That
> should be the same case AFAICS.

It breaks, yes :-), and you have to set the client encoding manually.

But it works in the simple case where your data is ASCII for example.
Which usually means it's fine for listing databases, or database
objects, or such things. But with the unicode line patch, it's
basically completely useless, not just partially annoying.


-- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: garbage in psql -l
Следующее
От: Tom Lane
Дата:
Сообщение: Re: garbage in psql -l