I've written on like that a while ago:

Bruce Momjian <bruce@momjian.us>

Commit: ad0787b2bd3403f0c14c72a9ea2e13501f90b7d3
Author: Bruce Momjian <bruce@momjian.us>
Date: 2002-02-22T23:05:35Z
Releases: 7.3.1
I've written on like that a while ago:

http://webmail.postgresql.org/~petere/dbsize.html

The tarball can be rolled into contrib -- now that I think of it I don't
know why I never did that.

Never imagined this would have anything to do with that TODO item,
though.
I figured oid2name accomplished that.

Peter Eisentraut   peter_e@gmx.net

Files

PathChange+/−
contrib/dbsize/dbsize.c added +169 −0
contrib/dbsize/dbsize.sql.in added +7 −0
contrib/dbsize/Makefile added +9 −0
contrib/dbsize/README.dbsize added +11 −0
contrib/Makefile modified +2 −1
contrib/README modified +5 −1