pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: totocrenn@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14535: SET search_path and list tables
Date: Wed, 08 Feb 2017 11:33:00 +0000
Message-ID: <20170208113300.1411.83851@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:      14535
Logged by:          Thomas Crenn
Email address:      totocrenn@gmail.com
PostgreSQL version: 9.6.1
Operating system:   Windows
Description:        

Hi,
I will explain the bug with an example :

I have 2 SCHEMAS : test and demo
Each schemas have the same TABLE : table

Then I change the search path :
SET search_path TO test, demo;

So when I list all the tables with \dt I should have 2 tables : test.table
and demo.table, but I only see test.table.
After checking, the table demo.table exist but is just not display on the
list.

I guess it's because the query apply a DISTINCT only on the table and not on
the couple (schema , table).
I don't know if it's a bug or if this choice is justified so i have decided
to report you this.

Best regards.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


view thread (3+ messages)  latest in thread

Message-ID: <20170208113300.1411.83851@wrigleys.postgresql.org>
Permalink:  ../20170208113300.1411.83851@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20170208113300.1411.83851@wrigleys.postgresql.org

 · 

reply

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: totocrenn@gmail.com
  Subject: Re: BUG #14535: SET search_path and list tables
  In-Reply-To: <20170208113300.1411.83851@wrigleys.postgresql.org>
  References: <20170208113300.1411.83851@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