Re: partition tree inspection functions - Mailing list pgsql-hackers

From Jesper Pedersen
Subject Re: partition tree inspection functions
Date
Msg-id a234a836-a7af-30fd-c43d-0177d7899560@redhat.com
Whole thread Raw
In response to Re: partition tree inspection functions  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: partition tree inspection functions  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
List 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




pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: Usability fail with psql's \dp command
Next
From: David Rowley
Date:
Subject: Re: Making "COPY partitioned_table FROM" faster