Re: UNIQUE INDEX difference between 7.2 and 7.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: UNIQUE INDEX difference between 7.2 and 7.3
Дата
Msg-id 15938.1060718699@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: UNIQUE INDEX difference between 7.2 and 7.3  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-bugs
Stephan Szabo <sszabo@megazone.bigpanda.com> writes:
> I don't know enough about the issues involved.  Can we reasonably tell
> that a particular locale and encoding don't make sense together (apart
> from things like looking for UTF-8 in the name for example)?

There was some discussion about this a week or two ago.  Apparently,
glibc has a way to ask what character set a given locale expects,
but there's no such capability in the C standards, so it's not portable.

Since glibc-based systems seem to be the main ones guilty of defaulting
to non-C locales, perhaps it would be Good Enough (TM) to make the check
on glibc, and assume that the user knows what he's doing elsewhere.
Needs thought though.

            regards, tom lane

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: UNIQUE INDEX difference between 7.2 and 7.3
Следующее
От: "systems"
Дата:
Сообщение: Slow Query