Re: pg_relation_size on partitioned table - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: pg_relation_size on partitioned table
Date
Msg-id 202203251259.sclh6q56mrwv@alvherre.pgsql
Whole thread Raw
In response to pg_relation_size on partitioned table  (Japin Li <japinli@hotmail.com>)
Responses Re: pg_relation_size on partitioned table  (Japin Li <japinli@hotmail.com>)
List pgsql-hackers
On 2022-Mar-25, Japin Li wrote:

> Could we provide a function to get the total size of the partition table
> though the partitioned table name?  Maybe we can extend
> the pg_relation_size() to get the total size of partition tables through
> the partitioned table name.

Does \dP+ do what you need?

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"La espina, desde que nace, ya pincha" (Proverbio africano)



pgsql-hackers by date:

Previous
From: Japin Li
Date:
Subject: pg_relation_size on partitioned table
Next
From: Dagfinn Ilmari Mannsåker
Date:
Subject: Re: Doc patch: replace 'salesmen' with 'salespeople'