Re: partition tree inspection functions

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: Jeevan Ladhe <jeevan(dot)ladhe(at)enterprisedb(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: partition tree inspection functions
Date: 2018-06-26 07:57:53
Message-ID: d5f5b9a8-0c88-8043-2007-be37096bed39@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2018/06/26 16:54, Jeevan Ladhe wrote:
> Hi Amit,
>
> On Tue, Jun 26, 2018 at 1:07 PM, Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp
>> wrote:
>
>> On 2018/06/26 14:08, Amit Langote wrote:
>>> Hi.
>>>
>>> As discussed a little while back [1] and also recently mentioned [2],
>> here
>>> is a patch that adds a set of functions to inspect the details of a
>>> partition tree. There are three functions:
>>>
>>> pg_partition_parent(regclass) returns regclass
>>> pg_partition_root_parent(regclass) returns regclass
>>> pg_partition_tree_tables(regclass) returns setof regclass
>>>
>>
>
> I quickly tried applying your patch. Created couple of tables,
> subpartitions with
> mix of range and list partitions, and I see these 3 functions are working as
> documented.
>
> Also, the patch does not have any 'make check' failures.
>
> I will do the further code review and post if any comments.

Thanks Jeevan for reviewing.

Thanks,
Amit

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Imai, Yoshikazu 2018-06-26 08:09:18 Re:Re: some question about _bt_getbuf
Previous Message Jeevan Ladhe 2018-06-26 07:54:16 Re: partition tree inspection functions