pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Chris Browne <cbbrowne@acm.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: How to find data directory
Date: Sun, 18 Dec 2005 22:43:22 -0700
Message-ID: <20051219054322.GA90346@winnie.fuhr.org> (raw)
In-Reply-To: <601x09n6ag.fsf@dba2.int.libertyrms.com>
References: <1134772264.7276.2.camel@localhost.localdomain>
	<Pine.LNX.4.64.0512161549190.11428@glacier.frostconsultingllc.com>
	<1134784056.7354.2.camel@localhost.localdomain>
	<Pine.LNX.4.64.0512161933170.28807@discord.dyndns.org>
	<1134952457.7555.5.camel@localhost.localdomain>
	<601x09n6ag.fsf@dba2.int.libertyrms.com>

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



view thread (12+ messages)

Message-ID: <20051219054322.GA90346@winnie.fuhr.org>
Permalink:  ../20051219054322.GA90346@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20051219054322.GA90346@winnie.fuhr.org

 · 

reply

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-admin@postgresql.org
  Cc: mike@fuhr.org, cbbrowne@acm.org
  Subject: Re: How to find data directory
  In-Reply-To: <20051219054322.GA90346@winnie.fuhr.org>
  References: <1134772264.7276.2.camel@localhost.localdomain> <Pine.LNX.4.64.0512161549190.11428@glacier.frostconsultingllc.com> <1134784056.7354.2.camel@localhost.localdomain> <Pine.LNX.4.64.0512161933170.28807@discord.dyndns.org> <1134952457.7555.5.camel@localhost.localdomain> <601x09n6ag.fsf@dba2.int.libertyrms.com> <20051219054322.GA90346@winnie.fuhr.org>

* 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