Re: ToDo: show size of partitioned table - Mailing list pgsql-hackers

From Amit Langote
Subject Re: ToDo: show size of partitioned table
Date
Msg-id CA+HiwqG7Ksf+9VFcO00q-8GwnmjL=646ZzC-61vGbQFJ9EjDEg@mail.gmail.com
Whole thread Raw
In response to Re: ToDo: show size of partitioned table  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: ToDo: show size of partitioned table  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Tue, Oct 30, 2018 at 8:04 PM Pavel Stehule <pavel.stehule@gmail.com> wrote:
> út 30. 10. 2018 v 7:52 odesílatel Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> napsal:
>> The patch to add the pg_partition_tree() function was just committed:
>>
>> Add pg_partition_tree to display information about partitions
>> https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=d5eec4eefde70
>>
>> Could one of you please revise the patch to use that function to produce
>> the output of \dP+?
>
>
> here it is.
>
> It is based on Mathias's patch. Although we can use pg_partition_tree on PostgreSQL, we still should to support
PostgreSQL10, 11 where this function is not available 

Ah, I forgot that psql will need to consider 10 and 11 servers too.

Thanks,
Amit


pgsql-hackers by date:

Previous
From: Andreas 'ads' Scherbaum
Date:
Subject: Re: INSTALL file
Next
From: Amit Langote
Date:
Subject: Re: Should pg 11 use a lot more memory building an spgist index?