Re: ToDo: show size of partitioned table

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, mathias(at)brossard(dot)org, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: ToDo: show size of partitioned table
Date: 2019-03-13 07:01:54
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 2019/02/22 1:41, Pavel Stehule wrote:
> čt 21. 2. 2019 v 0:56 odesílatel Justin Pryzby <pryzby(at)telsasoft(dot)com>
> napsal:
>> On Sat, Feb 16, 2019 at 10:52:35PM +0100, Pavel Stehule wrote:
>>> I like your changes. I merged all - updated patch is attached
>> I applied and tested your v10 patch.
>> Find attached some light modifications.
> I have not any objection - I cannot to evaluate. It is question for some
> native speaker.

Not a native speaker either, but I like Justin's changes. Although I
noticed that he missed changing one sentence to look like other similar

What Justin did:

- indexes) and associated description are also displayed.
+ indexes) is displayed, as is the relation's description.

What I think he meant to do:

- indexes) and associated description are also displayed.
+ indexes) is also displayed, along with the associated description.

> I am not sure if we use labels in form "some: detail" somewhere.

I haven't seen column names like that either. How about:

- gettext_noop("Direct partitions size"));
+ gettext_noop("Leaf partition size"));

- gettext_noop("Total partitions size"));
+ gettext_noop("Total size"));

- gettext_noop("Partitions size"));
+ gettext_noop("Total size"));

I've attached v11 of the patch, which merges most of Justin's changes and
some of my own on top -- documentation and partition size column names.


Attachment Content-Type Size
psql-dP-11.patch text/plain 24.8 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2019-03-13 07:22:00 Re: Adding a TAP test checking data consistency on standby with minRecoveryPoint
Previous Message David Rowley 2019-03-13 06:37:45 Re: [HACKERS] PATCH: multivariate histograms and MCV lists