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

From Amit Langote
Subject Re: partition tree inspection functions
Date
Msg-id 2ab396e6-9cad-f52f-1b1e-ace47aa82291@lab.ntt.co.jp
Whole thread Raw
In response to Re: partition tree inspection functions  (Jesper Pedersen <jesper.pedersen@redhat.com>)
List pgsql-hackers
Hi Jesper,

On 2018/07/30 22:21, Jesper Pedersen wrote:
> 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.

Done.

> New status: Ready for Committer

Thanks.  Updated patch attached.

Regards,
Amit

Attachment

pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: Expression errors with "FOR UPDATE" and postgres_fdw with partitionwise join enabled.
Next
From: Fabien COELHO
Date:
Subject: pg_default_acl missing 'n' case in doc