Re: Per-column collation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Per-column collation
Дата
Msg-id 7835.1289947128@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Per-column collation  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Per-column collation  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> On Tue, Nov 16, 2010 at 10:32:01PM +0200, Peter Eisentraut wrote:
>> On tis, 2010-11-16 at 21:05 +0100, marcin mank wrote:
>>> It would be nice if we could have some mapping of locale names bult
>>> in, so one doesn`t have to write alternative sql depending on DB
>>> server OS:

>> Sure that would be nice, but how do you hope to do that?

> Given that each operating system comes with a different set of
> collations, it seems unlikely you could even find two collations on
> different OSes that even correspond.

Yeah, the *real* portability problem here is that the locale behavior is
likely to be different, not just the name.  I don't think we'd be doing
people many favors by masking behavioral differences between a forced
common name.
        regards, tom lane


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: unlogged tables
Следующее
От: Andres Freund
Дата:
Сообщение: Re: unlogged tables