pgstattuple does not work with uppercase table names

From: Andreas Eriksson <andreas(dot)eriksson(at)griffeye(dot)com>
To: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: pgstattuple does not work with uppercase table names
Date: 2018-11-02 08:38:49
Message-ID: AM6PR04MB533366DCE5A21B21661AF70BE4CF0@AM6PR04MB5333.eurprd04.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Steps to reproduce:
CREATE EXTENSION pgstattuple;
CREATE TABLE "Test" AS SELECT * FROM generate_series(1, 10000);
SELECT * FROM pgstattuple('Test');

ERROR: relation "test" does not exist SQL state: 42P01

/Andreas

Andreas Eriksson
Principal Software Engineer, Software Architect
Tel: +46 31 719 08 00
Mobile: +46 739 07 41 79
andreas(dot)eriksson(at)griffeye(dot)com

[Griffeye]

Griffeye Technologies AB
F?rsta L?nggatan 30, SE-413 27 G?teborg, Sweden
griffeye.com<https://www.griffeye.com>

a Safer Society Group company

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
To preserve the environment, print this message only if necessary

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2018-11-02 09:03:09 BUG #15483: Installation pgadmin4 on Fedora 29
Previous Message Paul van der Linden 2018-11-02 08:02:26 RE: BUG #15460: Error while creating index or constraint