On 2019/01/07 23:13, Justin Pryzby wrote: > The issue was this: >>> It turns out 1050 open()s are due to historic data which is no longer being >>> loaded and therefor never converted to relkind=p (but hasn't exceeded the >>> retention interval so not yet DROPped, either). > > So there's no evidence of any issue with the patch.
Ah, so by this you had meant that the historic data is still a old-style (9.6-style) inheritance hierarchy, which gets folded under the UNION ALL whose other children are new-style partitioned tables. Thanks, Amit