Re: SQL_ASCII vs. 7-bit ASCII encodings

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: SQL_ASCII vs. 7-bit ASCII encodings
Дата
Msg-id 4283CE1B.90104@opencloud.com
обсуждение исходный текст
Ответ на Re: SQL_ASCII vs. 7-bit ASCII encodings  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: SQL_ASCII vs. 7-bit ASCII encodings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Peter Eisentraut wrote:
> Am Donnerstag, 12. Mai 2005 14:57 schrieb Oliver Jowett:
> 
>>My 8.0.0 (what I happen to have on hand) initdb creates a SQL_ASCII
>>cluster by default unless I specify -E.
> 
> 
> Then you use the locale C.  We could create a 7-bit encoding and map it to 
> locale C, I suppose.

Ok, I think that's what I intended :)

Do we choose SQL_ASCII in any case other than a C locale?

> That would cripple a system that many users are perfectly content with now.  I 
> compare this to the occasional requests to make pg_hba.conf reject everyone 
> by default.  We have to err a little on the side of usablity.  Anyway, the 
> issue here is the mismatch between the C locale and the SQL_ASCII encoding.  
> The solution is to fix that mismatch, not cripple the entire system.

Well, I wasn't thinking of using a 7-bit encoding always, just as a
replacement for the cases where we currently choose SQL_ASCII. Does that
sound reasonable?

-O


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Best way to scan on-disk bitmaps
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Views, views, views: Summary of Arguments