Hi Amit, On 07/30/2018 05:21 AM, Amit Langote wrote:
As 0 is a valid return value for root nodes I think we should use -1 instead for these cases.Makes sense, changed to be that way.
Looks good, the documentation for pg_partition_level could be expanded to describe the -1 scenario.
New status: Ready for Committer Best regards, Jesper