psql: set \encoding according to the current locale

Поиск
Список
Период
Сортировка
От Martin Pitt
Тема psql: set \encoding according to the current locale
Дата
Msg-id 20041031215957.GA19306@box79162.elkhouse.de
обсуждение исходный текст
Ответы Re: psql: set \encoding according to the current locale  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
Hi PostgreSQL developers!

Currently (i. e. in 7.4.6) psql seems to use the default database
encoding as locale for both its own messages and for database output
strings. Whereas it is only an inconvenience for the latter, psql's
own messages should really respect LANG/LC_MESSAGES environment
variables instead of the database encoding.

It would also be nice to call "set \encoding" to match the locale psql
was called under, at least when it is called interactively.

Thanks and have a nice day!

Martin

--=20
Martin Pitt                       http://www.piware.de
Ubuntu Developer            http://www.ubuntulinux.org
Debian GNU/Linux Developer       http://www.debian.org

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: date_trunc problems crossing DST border
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: could not find /usr/local/timezone