From: Andreas Pflug <Andreas.Pflug@web.de>
To: Jamie Lawrence <pgsql@jal.org>
To: pgsql-performance@postgresql.org
Subject: Re: Finding filenames for tables
Date: Tue, 13 May 2003 23:52:29 +0200
Message-ID: <3EC1691D.4050604@web.de> (raw)
In-Reply-To: <20030513223055.GZ4093@jal.clueinc.net>
References: <20030513223055.GZ4093@jal.clueinc.net>
Jamie Lawrence wrote:
>How do I join pg_class and pg_database to determine OID/tablename
>pairs for a given database? I can't find anything to join on in those
>tables. I'm just grepping output right now, but I'd like to do more
>complicated things in the future, thus my question.
>
>
Jamie,
you don't need to join since pg_class is specific for a database. You
cannot see any classes from a different database in pg_class. In
contrast, pg_database is server-wide mirrored.
Regards,
Andreas
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-performance@postgresql.org
Cc: Andreas.Pflug@web.de, pgsql@jal.org
Subject: Re: Finding filenames for tables
In-Reply-To: <3EC1691D.4050604@web.de>
References: <20030513223055.GZ4093@jal.clueinc.net> <3EC1691D.4050604@web.de>
* 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