Re: Database directory names

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
Cc: Kris Deugau <kdeugau(at)webhart(dot)net>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Database directory names
Date: 2002-07-03 15:42:49
Message-ID: 200207031542.g63Fgne11092@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Stephan Szabo 2002-07-03 16:03:15 Re: Database directory names
Previous Message Stephan Szabo 2002-07-03 13:59:39 Re: Database directory names