BUG #12784: pg_relation_size has problems with case in index name

From: gibheer(at)zero-knowledge(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #12784: pg_relation_size has problems with case in index name
Date: 2015-02-18 19:27:12
Message-ID: 20150218192712.8729.67799@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 12784
Logged by: Stefan Radomski
Email address: gibheer(at)zero-knowledge(dot)org
PostgreSQL version: 9.4.1
Operating system: FreeBSD 10.1p5
Description:

I found a problem with indexes which have an uppercase letter in the name.
You can reproduce it with the following statements:

create table unfindable("Test" text);
create index on unfindable("Test");
\d unfindable
select pg_relation_size('unfindable_Test_idx');

It does work for tables with upper case characters in the name though.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G Johnston 2015-02-18 19:43:06 Re: BUG #12784: pg_relation_size has problems with case in index name
Previous Message Tom Lane 2015-02-18 16:54:57 Re: BUG #12782: Some abnormal observation about the to_date() function in greenplum database