Re: How to find data directory - Mailing list pgsql-admin

From Michael Fuhr
Subject Re: How to find data directory
Date
Msg-id 20051219054322.GA90346@winnie.fuhr.org
Whole thread Raw
In response to Re: How to find data directory  (Chris Browne <cbbrowne@acm.org>)
List pgsql-admin
On Sun, Dec 18, 2005 at 09:56:39PM -0500, Chris Browne wrote:
> The filenames are the OID numbers associated with either databases
> (see pg_catalog.pg_database) or tables (see pg_catalog.pg_class).

For tables, indexes, etc., the filename isn't necessarily the same
as the object's oid; it starts out that way but it can change after
commands like TRUNCATE and CLUSTER.  pg_class.relfilenode contains
the name of a relation's on-disk file.

--
Michael Fuhr

pgsql-admin by date:

Previous
From: Chris Browne
Date:
Subject: Re: How to find data directory
Next
From: Hannes Dorbath
Date:
Subject: Re: upgrading a three year old server