From: Tyler Kellen <tyler@sleekcode.net>
To: pgsql-bugs@postgresql.org
Subject: BUG #5838: tables of the same name in different schemas
Date: Fri, 14 Jan 2011 08:07:25 GMT
Message-ID: <201101140807.p0E87PFN053886@wwwmaster.postgresql.org> (raw)
The following bug has been logged online:
Bug reference: 5838
Logged by: Tyler Kellen
Email address: tyler@sleekcode.net
PostgreSQL version: 9.0.2
Operating system: Win7 64
Description: tables of the same name in different schemas
Details:
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.
Reproduction:
CREATE SCHEMA s1;
CREATE SCHEMA s2;
CREATE TABLE s1.test ( id int );
CREATE TABLE s2.test ( id int );
SET search_path TO s1,s2;
\d
SET search_path TO s2,s1;
\d
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: tyler@sleekcode.net
Subject: Re: BUG #5838: tables of the same name in different schemas
In-Reply-To: <201101140807.p0E87PFN053886@wwwmaster.postgresql.org>
References: <201101140807.p0E87PFN053886@wwwmaster.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