On Thu, Oct 04, 2018 at 04:53:02PM +0900, Amit Langote wrote:
> As mentioned in my other reply, that might be considered as asking the
> user to know inner details like relkind. Also, if a database has many
> partitioned tables with lots of partitions, the pg_class join might get
> expensive. OTOH, computing and returning it with other fields of
> pg_partition_tree is essentially free.
So it seems that I am clearly outvoted here ;)
Okay, let's do as you folks propose.
--
Michael