Re: Catalog help

From: Scott Ribe <scott_ribe(at)killerbytes(dot)com>
To: Erik Jones <ejones(at)engineyard(dot)com>
Cc: pgsql-general List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Catalog help
Date: 2009-10-19 04:36:43
Message-ID: C70148FB.C6E08%scott_ribe@killerbytes.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Well, you can't. Each database has it's own pg_class (and other)
> catalog table and tables in any given database are not visible from
> others.

Ah well of course, that's the answer to my question. Only the entries for
the tables in the database to which I am currently connected are visible, so
there's no problem. (I didn't want to see other tables with the same name; I
wanted to avoid getting info on the wrong table.)

In hindsight, this should have been completely obvious. But I was looking at
the stuff regarding schemas and their ownership of tables, and got confused
thinking "yeah well, what about all the owning databases".

--
Scott Ribe
scott_ribe(at)killerbytes(dot)com
http://www.killerbytes.com/
(303) 722-0567 voice

In response to

Browse pgsql-general by date

  From Date Subject
Next Message 窦德厚 (ddh) 2009-10-19 05:18:44 unsubscribe
Previous Message Erik Jones 2009-10-19 04:22:53 Re: Catalog help