Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 07AB44762D5 for ; Wed, 3 Jul 2002 13:03:58 -0400 (EDT) Mailbox-Line: From sszabo@megazone23.bigpanda.com Wed Jul 3 13:03:58 2002 Received: from megazone.bigpanda.com (megazone.bigpanda.com [63.150.15.178]) by postgresql.org (Postfix) with ESMTP id C893C476274 for ; Wed, 3 Jul 2002 12:03:14 -0400 (EDT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id D8F72D5F7; Wed, 3 Jul 2002 09:03:15 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id CAA615C02; Wed, 3 Jul 2002 09:03:15 -0700 (PDT) Date: Wed, 3 Jul 2002 09:03:15 -0700 (PDT) From: Stephan Szabo To: Bruce Momjian Cc: Kris Deugau , Subject: Re: Database directory names In-Reply-To: <200207031542.g63Fgne11092@candle.pha.pa.us> Message-ID: <20020703090213.Y7575-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-3.5 required=5.0 tests=IN_REP_TO,X_NOT_PRESENT,NO_MX_FOR_FROM version=2.30 X-Spam-Level: X-Archive-Number: 200207/44 X-Sequence-Number: 4730 On Wed, 3 Jul 2002, Bruce Momjian wrote: > 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 My bad. I assumed that oid2name wasn't likely to have changed without actually checking.