On 2019-Feb-28, Alvaro Herrera wrote:
> What about legacy inheritance? I see that pg_partition_tree handles
> that case perfectly well -- it seems to return the complete hierarchy
> rooted at the given relation. However, it seems odd that it works at
> all, don't you think? Consider this:
> [...]
> I would opt for returning the empty set for legacy inheritance too.
I added tests to immortalize the current behavior for legacy inheritance
relations too. Thanks!
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services