Alvaro Herrera 475be5e790 When index recurses to a partition, map columns numbers
Two out of three code paths were mapping column numbers correctly if a
partition had different column numbers than parent table, but the most
commonly used one (recursing in CREATE INDEX to a new index on a
partition) failed to map attribute numbers in expressions.  Oddly
enough, attnums in WHERE clauses are already handled correctly
everywhere.

Reported-by: Amit Langote
Author: Amit Langote
Discussion: https://postgr.es/m/dce1fda4-e0f0-94c9-6abb-f5956a98c057@lab.ntt.co.jp
Reviewed-by: Álvaro Herrera
2018-06-22 16:45:48 -04:00
..
2018-06-09 09:33:53 -07:00
2018-06-07 23:37:09 -04:00
2018-01-02 23:30:12 -05:00
2018-05-21 12:29:52 -04:00
2018-04-26 14:47:16 -04:00
2018-03-30 17:33:04 -07:00
2017-05-15 12:19:54 -04:00