From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: jltallon@adv-solutions.net
Subject: BUG #16265: psql shows (unfolded) relation name in quotes
Date: Wed, 19 Feb 2020 01:17:22 +0000
Message-ID: <16265-222897d24189e4d9@postgresql.org> (raw)
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.
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: noreply@postgresql.org, jltallon@adv-solutions.net
Subject: Re: BUG #16265: psql shows (unfolded) relation name in quotes
In-Reply-To: <16265-222897d24189e4d9@postgresql.org>
References: <16265-222897d24189e4d9@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