Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9B099133616B for ; Fri, 14 Jan 2011 13:52:03 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 98740-09 for ; Fri, 14 Jan 2011 17:51:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 14D83133740B for ; Fri, 14 Jan 2011 13:51:55 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p0EHprlP008218; Fri, 14 Jan 2011 12:51:53 -0500 (EST) To: Heikki Linnakangas cc: Tyler Kellen , pgsql-bugs@postgresql.org Subject: Re: BUG #5838: tables of the same name in different schemas In-reply-to: <4D302F8C.3010800@enterprisedb.com> References: <201101140807.p0E87PFN053886@wwwmaster.postgresql.org> <4D302F8C.3010800@enterprisedb.com> Comments: In-reply-to Heikki Linnakangas message dated "Fri, 14 Jan 2011 13:12:12 +0200" Date: Fri, 14 Jan 2011 12:51:53 -0500 Message-ID: <8217.1295027513@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/103 X-Sequence-Number: 29125 Heikki Linnakangas 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