On 2019-Apr-25, Amit Langote wrote: > BTW, this will need to be back-patched to 11.
Done, thanks for the patch. I added the test in master, but obviously it doesn't work in pg11, so I just verified manually that relispartition is set correctly. I don't think it's worth doing more, though there are other things that are affected by a bogus relispartition marking for an index (example: creating the index in the last partition that didn't have it, should mark the index on parent valid; I think that would fail to propagate to upper levels correctly.) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services