From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: oid2name and relfilenode |
Date: | 2002-10-15 21:35:16 |
Message-ID: | 200210152135.g9FLZGX14804@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
OK, removed from TODO. I figured it was as useful as pg_controldata but
can see what you say that those give information that you can't get any
other way, while oid2name info can be gotten another way. You can look
at the oid2name README for examples of its usage.
---------------------------------------------------------------------------
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > I will add these items to the TODO list, unless someone else votes.
>
> I was not thrilled with the idea of moving oid2name out of contrib
> either, but kept silent to see if someone else would complain first ...
>
> Basically I think that oid2name is a hacker's tool and not something
> users or DBAs really want as-is --- which I guess is another way of
> stating Peter's gripe that what it produces is not what the users want
> to know. The actual useful guts of it are nothing more than
> SELECT oid, datname FROM pg_database;
> SELECT relfilenode, relname FROM pg_class;
> which does not seem significant enough to justify the packaging and
> documentation overhead of having another command-line tool.
>
> The only actual use-case I've seen for it so far is as a vehicle for
> computing actual database sizes on-disk; which would be better served
> by a tool that did the whole job. What other uses do people have for
> oid2name?
>
> regards, tom lane
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-10-15 21:42:04 | Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c |
Previous Message | Tom Lane | 2002-10-15 21:00:40 | Re: oid2name and relfilenode |