Re: Which file belongs to which database?

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Which file belongs to which database?
Date: 2003-07-25 07:30:20
Message-ID: bfqm80$gar$1@main.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Shridhar Daithankar schrieb:

> On 25 Jul 2003 at 8:45, Thomas Kellerer wrote:
>
>> just out of curiosity: how can I find out which files in the PG_DATA
>> directory belong to which database/table?
>
> There is a contrib module oid2name. Use that.
>
> You can just find the oid of the object from catalog and search for that
> file. That's the principle.
>
> Bye Shridhar
>

That easy ? :-)

Thanks for the information!

Cheers
Thomas

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nico Latzer 2003-07-25 07:50:11 owner cant delete from table, permission denied
Previous Message Shridhar Daithankar 2003-07-25 07:12:14 Re: Which file belongs to which database?