http://www.postgresql.org/docs/8.4/static/functions-admin.html says:
pg_relation_size
accepts the OID or name of a table, index or toast table, and returns the size in bytes
however when i use it with a valid table name, i get the error:
"column [table] does not exist..."
i know my table exists, because doing
SELECT count(*) FROM [table]
returns a valid number.
any ideas?