]> granicus.if.org Git - postgresql/commit
Fix CompareIndexInfo's attnum comparisons
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 19 Jan 2018 19:34:44 +0000 (16:34 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 19 Jan 2018 19:56:42 +0000 (16:56 -0300)
commit7f17fd6fc7125b41218bc99ccfa8165e2d730cd9
tree375b40aba4f7da6a6332d00fe4afd8ad277eb85c
parent8b9e9644dc6a9bd4b7a97950e6212f63880cf18b
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.
src/backend/catalog/index.c