--On 26. März 2011 21:59:18 -0400 Robert Haas <robertmh...@gmail.com> wrote:

But I think we can just call pg_table_size() regardless in 9.0+; I
believe it'll return the same results as pg_relation_size() on
non-tables.  Anyone see a problem with that?

Hmm yeah, seems i was thinking too complicated...here is a cleaned up version of this idea.

--
Thanks

        Bernd

Attachment: psql_tablesize.patch
Description: Binary data

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to