Fix CompareIndexInfo's attnum comparisons

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 7f17fd6fc7125b41218bc99ccfa8165e2d730cd9
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2018-01-19T19:56:42Z
Releases: 11.0
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.

Files

PathChange+/−
src/backend/catalog/index.c modified +4 −2