From: lucian.ciufudean@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14317: psql \dt not working as expected
Date: Thu, 08 Sep 2016 15:40:03 +0000
Message-ID: <20160908154003.1410.72854@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14317
Logged by: Lucian Ciufudean
Email address: lucian.ciufudean@gmail.com
PostgreSQL version: 9.5.4
Operating system: windows 7 x64
Description:
If one creates a table with the same name as one of the pg_catalog tables
1. CREATE TABLE pg_tables (
name varchar(80),
location point
);
then \dt will not show it:
List of relations
Schema | Name | Type | Owner
--------+--------+-------+----------
public | cities | table | postgres
(1 row)
while this query will:
select * from pg_tables;
Expectations: \dt shows all tables in the public schema.
Note that it is also unexpected that this query:
select * from pg_tables;
goes to pg_catalog.pg_tables instead of public.pg_tables.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: lucian.ciufudean@gmail.com
Subject: Re: BUG #14317: psql \dt not working as expected
In-Reply-To: <20160908154003.1410.72854@wrigleys.postgresql.org>
References: <20160908154003.1410.72854@wrigleys.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