X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id DD97E9DCDE7 for ; Mon, 19 Dec 2005 01:43:30 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 57031-01-2 for ; Mon, 19 Dec 2005 01:43:29 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id A05BC9DCDE4 for ; Mon, 19 Dec 2005 01:43:28 -0400 (AST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id jBJ5hMKX093452 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 18 Dec 2005 22:43:25 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id jBJ5hMYJ090462; Sun, 18 Dec 2005 22:43:22 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id jBJ5hMoK090461; Sun, 18 Dec 2005 22:43:22 -0700 (MST) (envelope-from mfuhr) Date: Sun, 18 Dec 2005 22:43:22 -0700 From: Michael Fuhr To: Chris Browne Cc: pgsql-admin@postgresql.org Subject: Re: How to find data directory Message-ID: <20051219054322.GA90346@winnie.fuhr.org> References: <1134772264.7276.2.camel@localhost.localdomain> <1134784056.7354.2.camel@localhost.localdomain> <1134952457.7555.5.camel@localhost.localdomain> <601x09n6ag.fsf@dba2.int.libertyrms.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <601x09n6ag.fsf@dba2.int.libertyrms.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.028 required=5 tests=[AWL=0.028] X-Spam-Score: 0.028 X-Spam-Level: X-Archive-Number: 200512/195 X-Sequence-Number: 19915 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