Re: Upgrading pg_statistic to handle collation honestly - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Upgrading pg_statistic to handle collation honestly
Date
Msg-id 9576.1544799477@sss.pgh.pa.us
Whole thread Raw
In response to Re: Upgrading pg_statistic to handle collation honestly  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 12/12/2018 16:57, Tom Lane wrote:
>> +         stats->attrcollid = exprCollation(index_expr);
>> +         /* XXX should we consult indcollation instead? */

> After looking through this again, I think the answer here is "yes".

Yeah, I was leaning towards that as well, but hadn't written the extra
code needed to make it so.  Will fix.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [HACKERS] REINDEX CONCURRENTLY 2.0
Next
From: Tomas Vondra
Date:
Subject: Re: explain plans with information about (modified) gucs