Re: Please correct/improve wiki page about abbreviated keys bug - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Please correct/improve wiki page about abbreviated keys bug
Date
Msg-id 11330.1459307583@sss.pgh.pa.us
Whole thread Raw
In response to Re: Please correct/improve wiki page about abbreviated keys bug  (Peter Geoghegan <pg@heroku.com>)
List pgsql-hackers
Peter Geoghegan <pg@heroku.com> writes:
> Do you think it would be okay if the SQL query to detect potentially
> affected indexes only considered the leading attribute? Since that's
> the only attribute that could use abbreviated keys, it ought to be
> safe to not require users to REINDEX indexes that happen to have a
> second-or-subsequent text/varchar(n) attribute that doesn't use the C
> locale. Maybe it's not worth worrying about.

Sure, if that's the case it seems like a useful thing to know.  I'm
sure there are lots of examples of mixed int-and-text columns in
indexes, for example.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: Relation extension scalability
Next
From: David Rowley
Date:
Subject: Re: Combining Aggregates