Re: Table size does not include toast size - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Table size does not include toast size
Date
Msg-id 327.1263880302@sss.pgh.pa.us
Whole thread Raw
In response to Re: Table size does not include toast size  (Bernd Helmle <mailings@oopsware.de>)
List pgsql-hackers
Bernd Helmle <mailings@oopsware.de> writes:
> Since i'm not able to finish those other things in time, i wrapped up my 
> existing code for this issue and came up with the attached patch, which 
> should implement the behavior Tom proposed. These are two new functions 
> pg_table_size() and pg_indexes_size(). This patch also changes 
> pg_total_relation_size() to be a shorthand for pg_table_size() + 
> pg_indexes_size().

Applied with minor corrections.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Brad T. Sliger"
Date:
Subject: Re: Pretty printed trigger in psql
Next
From: Fujii Masao
Date:
Subject: Re: Streaming replication, and walsender during recovery