Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 3C4FF475998 for ; Wed, 3 Jul 2002 12:25:44 -0400 (EDT) Mailbox-Line: From pgman@candle.pha.pa.us Wed Jul 3 12:25:44 2002 Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id 15BC7475F3C for ; Wed, 3 Jul 2002 11:43:09 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g63Fgne11092; Wed, 3 Jul 2002 11:42:49 -0400 (EDT) From: Bruce Momjian Message-Id: <200207031542.g63Fgne11092@candle.pha.pa.us> Subject: Re: Database directory names In-Reply-To: <20020703065440.Y6689-100000@megazone23.bigpanda.com> To: Stephan Szabo Date: Wed, 3 Jul 2002 11:42:49 -0400 (EDT) Cc: Kris Deugau , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, hits=-3.4 required=5.0 tests=IN_REP_TO version=2.30 X-Spam-Level: X-Archive-Number: 200207/43 X-Sequence-Number: 4729 Stephan Szabo wrote: > > Is this a feature, a bug, or a change related to some other critical > > functional capability of Postgres? I haven't found anything else that > > meets our requirements here, and I can work around this annoyance if > > required- but I'd rather be lazy. ;) > > Switching to numbers for tables and databases helped a few things > (including for tables making it easier to rollback a drop table). > There's a contrib item, oid2name which will print out a mapping > of directory number to database name. The readme gives an example > of using it with du. Uh, actually, only the readme in the current CVS has the example, 7.2.X doesn't. I recommend getting oid2name from the snapshot/CVS and using that. It has the newer readme and some changes to make the examples display properly. Also see the new doc section for 7.3 on disk usage: http://developer.postgresql.org/docs/postgres/diskusage.html -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026