Re: [COMMITTERS] pgsql: Add function to import operating system collations

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [COMMITTERS] pgsql: Add function to import operating system collations
Дата
Msg-id 2820.1484765163@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Add function to import operating system collations  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [COMMITTERS] pgsql: Add function to import operating systemcollations  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-committers
I wrote:
> The previous coding applied a sort so as not to depend on what
> order "locale -a" had returned things in, and I think we need
> to retain that.  At the very least, all the normalized names
> need to be saved up and entered in a second pass.

Actually, it seems like doing precisely that should be enough to fix
it.  The original names shouldn't have any dups, and if we generate
dup names by stripping, those will be for different encodings so it's
OK.  I've pushed a fix based on that.

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Avoid conflicts with collation aliases generated by stripping.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Add function to import operating systemcollations