pgsql: Fix CompareIndexInfo's attnum comparisons - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Fix CompareIndexInfo's attnum comparisons
Date
Msg-id E1eccqW-0004qW-0U@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Replace GrantObjectType with ObjectType
Next
From: Robert Haas
Date:
Subject: pgsql: Allow UPDATE to move rows between partitions.