Re: partition tree inspection functions

From: Jesper Pedersen <jesper(dot)pedersen(at)redhat(dot)com>
To: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Jeevan Ladhe <jeevan(dot)ladhe(at)enterprisedb(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: partition tree inspection functions
Date: 2018-07-30 13:21:34
Message-ID: a234a836-a7af-30fd-c43d-0177d7899560@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2018-07-30 13:26:30 Re: Making "COPY partitioned_table FROM" faster
Previous Message Fabien COELHO 2018-07-30 13:10:50 Re: Usability fail with psql's \dp command