On Wed, 13 Mar 2019 at 14:55, Amit Langote <langote_amit...@lab.ntt.co.jp> wrote: > Did you miss ri_RangeTableIndex? It's the range table index of the result > relation for which a given ResultRelInfo is created.
I did indeed. I'll hold off modifying the patch in favour of seeing what other people think about what should be done here. Thanks for pointing out ri_RangeTableIndex. -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services