Re: \dt doesn't show all relations in user's schemas (8.4.2)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Adrian Klaver <aklaver(at)comcast(dot)net>, Filip Rembiałkowski <plk(dot)zuber(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org, Ralph Graulich <ralph(dot)graulich(at)t-online(dot)de>
Subject: Re: \dt doesn't show all relations in user's schemas (8.4.2)
Date: 2009-12-22 01:14:26
Message-ID: 25218.1261444466@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> writes:
> On Mon, Dec 21, 2009 at 6:10 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Well, yes, because only the first one is visible. The second one is
>> masked by the first.

> But the docs say that ALL objects in the schema path will be shown.
> So, my point stands, either the docs are wrong, or the behaviour is.
> I'd think it's the docs.

It says the *visible* objects will be shown. Ones that are masked
aren't any more visible than if they were in some other schema
altogether: either way, if you want to reference such an object in
a SQL statement, you'd have to schema-qualify it.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-12-22 01:17:49 Re: \dt doesn't show all relations in user's schemas (8.4.2)
Previous Message Scott Marlowe 2009-12-22 01:12:25 Re: \dt doesn't show all relations in user's schemas (8.4.2)