Re: Determining client_encoding from client locale

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Determining client_encoding from client locale
Дата
Msg-id 20090617155421.GD6750@alvh.no-ip.org
обсуждение исходный текст
Ответ на Determining client_encoding from client locale  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Determining client_encoding from client locale  (Greg Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Heikki Linnakangas wrote:
> We currently require that you set client_encoding correctly, or you get  
> garbage in psql and any other tool using libpq. How about setting  
> client_encoding automatically to match the client's locale? We have  
> pg_get_encoding_from_locale() function that we can use to extract the  
> encoding from LC_CTYPE. We could call that in libpq.

+1

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: plpgsql error message
Следующее
От: Guillaume Smet
Дата:
Сообщение: Re: GRANT ON ALL IN schema