dbTalk Databases Forums  

[BUGS] BUG #6413: pg_relation_size wont work on table with upper case chars

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #6413: pg_relation_size wont work on table with upper case chars in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
james@stev.org
 
Posts: n/a

Default [BUGS] BUG #6413: pg_relation_size wont work on table with upper case chars - 01-28-2012 , 10:16 AM






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.



--
Sent via pgsql-bugs mailing list (pgsql-bugs (AT) postgresql (DOT) org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.