Re: Improving collation-dependent indexes in system catalogs - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Improving collation-dependent indexes in system catalogs
Date
Msg-id 20181216153921.4no3k4ljgh5gqyfb@alvherre.pgsql
Whole thread Raw
In response to Re: Improving collation-dependent indexes in system catalogs  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Improving collation-dependent indexes in system catalogs  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Lætitia Avrot
Date:
Subject: Grant documentation about "all tables"
Next
From: Tom Lane
Date:
Subject: Re: select limit error in file_fdw