The following bug has been logged online:
Bug reference: 5023
Logged by: Joseph Shraibman
Email address: jks(at)selectacast(dot)net
PostgreSQL version: 8.3.7
Operating system: Linux
Description: pg_relation_size() is not case sensitive
Details:
The pg_relation_size(text) method cannot determine the size of a relation
that has capital letters. This became an issue for me because some of
Slony's indexes use capital letters.
The workaround is to use the version of the function that takes an oid.
This issue exists in 8.3.7 and 8.2.13.