what to do about unsupported encodings

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема what to do about unsupported encodings
Дата
Msg-id 441fa05b-a70f-b26d-30b1-368706000514@2ndquadrant.com
обсуждение исходный текст
Ответы Re: what to do about unsupported encodings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
pg_get_encoding_from_locale() in chklocale.c reports this when it finds
a locale with an encoding it does not recognize:

ereport(WARNING,       (errmsg("could not determine encoding for locale \"%s\": codeset
is \"%s\"",               ctype, sys),  errdetail("Please report this to <pgsql-bugs@postgresql.org>.")));

I guess we don't get many of these reports.  But when testing out all
the locales that an OS provides, I can produce tons of warnings like
this, mostly related to legacy encodings of various localities.

Should we maintain a list to the effect of, these are encodings we have
heard about but don't support?  Or should we just drop the "please
report this" part?  I think the latter was added when we were still
breaking in this code, but it seems to have held up well.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Parallel tuplesort (for parallel B-Tree index creation)
Следующее
От: Serge Rielau
Дата:
Сообщение: Re: Fast Default WIP patch for discussion