pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Tyler Kellen <tyler@sleekcode.net>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5838: tables of the same name in different schemas
Date: Fri, 14 Jan 2011 12:51:53 -0500
Message-ID: <8217.1295027513@sss.pgh.pa.us> (raw)
In-Reply-To: <4D302F8C.3010800@enterprisedb.com>
References: <201101140807.p0E87PFN053886@wwwmaster.postgresql.org>
	<4D302F8C.3010800@enterprisedb.com>

Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> On 14.01.2011 10:07, Tyler Kellen wrote:
>> Given two objects of the same name in different schemas, when both schemas
>> are in the search_path, \d only shows the object from the first schema
>> listed.

> That's intentional. \d lists the object that are currently visible in 
> your search_path. The object in the schema that's later in search_path 
> is being shadowed by the one in the first schema, so it's not visible.

You can use "\d *.*" if you want to see objects that are not visible
in the search path.

			regards, tom lane



view thread (3+ messages)

Message-ID: <8217.1295027513@sss.pgh.pa.us>
Permalink:  ../8217.1295027513@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8217.1295027513@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, heikki.linnakangas@enterprisedb.com, tyler@sleekcode.net
  Subject: Re: BUG #5838: tables of the same name in different schemas
  In-Reply-To: <8217.1295027513@sss.pgh.pa.us>
  References: <201101140807.p0E87PFN053886@wwwmaster.postgresql.org> <4D302F8C.3010800@enterprisedb.com> <8217.1295027513@sss.pgh.pa.us>

* 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