Thread: pgsql: Fix CompareIndexInfo's attnum comparisons

pgsql: Fix CompareIndexInfo's attnum comparisons

From
Alvaro Herrera
Date:
Fix CompareIndexInfo's attnum comparisons

When an index column is an expression, it makes no sense to compare its
attribute numbers.

This seems to account for remaining buildfarm fallout from 8b08f7d4820f.
At least, it solves the issue in my local 32bit VM -- let's see what the
rest thinks.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7f17fd6fc7125b41218bc99ccfa8165e2d730cd9

Modified Files
--------------
src/backend/catalog/index.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)