Re: Improving collation-dependent indexes in system catalogs

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Improving collation-dependent indexes in system catalogs
Дата
Msg-id 20181216153921.4no3k4ljgh5gqyfb@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Improving collation-dependent indexes in system catalogs  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Improving collation-dependent indexes in system catalogs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2018-Dec-15, Tom Lane wrote:

> I wrote:
> > While fooling with the idea of making type "name" collation
> > aware, it occurred to me that there's a better, more general
> > answer, which is to insist that collation-aware system catalog
> > columns must be marked with C collation.

> Concretely, this ...

Looks sane in a quick once-over.

I notice that some information_schema view columns end up with C
collation after this patch, and others remain with default collation.
Is that sensible?  (I think the only two cases where this might matter
at all are information_schema.parameters.parameter_name,
information_schema.routines.external_name and
information_schema.foreign_servers.foreign_server_type.)

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Lætitia Avrot
Дата:
Сообщение: Grant documentation about "all tables"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: select limit error in file_fdw