From: james@stev.org
To: pgsql-bugs@postgresql.org
Subject: BUG #6413: pg_relation_size wont work on table with upper case chars
Date: Sat, 28 Jan 2012 16:16:47 +0000
Message-ID: <E1RrAxL-0007e3-HL@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6413
Logged by: James Stevenson
Email address: james@stev.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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: james@stev.org
Subject: Re: BUG #6413: pg_relation_size wont work on table with upper case chars
In-Reply-To: <E1RrAxL-0007e3-HL@wrigleys.postgresql.org>
References: <E1RrAxL-0007e3-HL@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox