BUG #16265: psql shows (unfolded) relation name in quotes - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16265: psql shows (unfolded) relation name in quotes
Date
Msg-id 16265-222897d24189e4d9@postgresql.org
Whole thread Raw
Responses Re: BUG #16265: psql shows (unfolded) relation name in quotes
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16265
Logged by:          Jose Luis Tallon
Email address:      jltallon@adv-solutions.net
PostgreSQL version: 12.1
Operating system:   Linux
Description:

When dealing with schemas containing non-all-lowercase names, psql error
messages can be confusing.

Reproducer below:
-------------------
test=> CREATE TABLE "Schedule";
CREATE TABLE
test=> \dt "Schedule" 
          List of relations
 Schema |   Name   | Type  |  Owner   
--------+----------+-------+----------
 public | Schedule | table | jltallon
(1 row)
test=> \d+ Schedule
Did not find any relation named "Schedule".
-------------------

EXPECTED:
-------------------
test=> \d+ Schedule
Did not find any relation named "schedule".
-------------------

Please note that the only difference lies in case-folding of the unquoted
relation name: psql copies the relation name verbatim to the output message,
whereas it should case-fold it according to standard Postgres rules.


pgsql-bugs by date:

Previous
From: "Doke, Tim (TR Tech, Content & Ops)"
Date:
Subject: windows 10 postgres install bug
Next
From: Atila Rangel
Date:
Subject: [Bug Report] Week Day