Re: Finding filenames for tables - Mailing list pgsql-performance

From Andreas Pflug
Subject Re: Finding filenames for tables
Date
Msg-id 3EC1691D.4050604@web.de
Whole thread Raw
In response to Finding filenames for tables  (Jamie Lawrence <pgsql@jal.org>)
Responses Re: Finding filenames for tables
List pgsql-performance
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


pgsql-performance by date:

Previous
From: Jamie Lawrence
Date:
Subject: Finding filenames for tables
Next
From: "Jim C. Nasby"
Date:
Subject: Re: How are null's stored? -- Some numbers