The following bug has been logged on the website:
Bug reference: 6413
Logged by: James Stevenson
Email address: james(at)stev(dot)org
PostgreSQL version: 8.4.9
Operating system: Linux - Debian Squeeze
Description:
I suspect pg_relation_size has a tolower in it to a table name called
Attempts will not work with pg_relation_size
Both
pg_relation_size('Attempts')
and
pg_relation_size('attempts')
fails with no such table.
After table rename from Attempts to attempts it will work.