Re: UTF8 with BOM support in psql

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: UTF8 with BOM support in psql
Дата
Msg-id 4B02AE4C.5060904@dunslane.net
обсуждение исходный текст
Ответ на Re: UTF8 with BOM support in psql  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: UTF8 with BOM support in psql
Список pgsql-hackers

Itagaki Takahiro wrote:
>  Multi-byte scripts
> without encoding are always dangerous whether BOM is present or not.
> I'd say we can always throw an error when we find queries that contain
> multi-byte characters if no prior encoding declaration.
>
>
>   

You will break a gazillion scripts that today work quite happily if you do.

I think you have really not thought out these proposals well.

Maybe there is a case for a extra command line switch to set the initial 
client encoding for psql, which would make that a little easier and less 
obscure to do. Would that make things simpler for you?

cheers

andrew




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

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: Raising the geqo_threshold default
Следующее
От: Tom Lane
Дата:
Сообщение: Re: patch - Report the schema along table name in a referential failure error message