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

From Amit Langote
Subject Re: partition tree inspection functions
Date
Msg-id e0762082-09fc-030d-15e5-ee450d63b440@lab.ntt.co.jp
Whole thread Raw
In response to Re: partition tree inspection functions  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: partition tree inspection functions
List pgsql-hackers
On 2018/06/28 17:40, Peter Eisentraut wrote:
> On 6/26/18 07:08, Amit Langote wrote:
>> 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
> 
> Does this add anything over writing a recursive query on pg_inherits?

As far as the information output is concerned, it doesn't.

Thanks,
Amit



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: partition tree inspection functions
Next
From: Yugo Nagata
Date:
Subject: Fix error message when trying to alter statistics on includedcolumn