Re: partition tree inspection functions

Jesper Pedersen <jesper.pedersen@redhat.com>

From: Jesper Pedersen <jesper.pedersen@redhat.com>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: Michael Paquier <michael@paquier.xyz>, Jeevan Ladhe <jeevan.ladhe@enterprisedb.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2018-07-30T13:21:34Z
Lists: pgsql-hackers
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




Commits

  1. Add pg_partition_tree to display information about partitions