Re: oid2name and relfilenode

From: Justin Clift <justin(at)postgresql(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: oid2name and relfilenode
Date: 2002-10-12 19:16:55
Message-ID: 3DA87527.6FA7BD2B@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
>
> Bruce Momjian wrote:
> > Now that we are changing relfilenode in 7.3, I think we need to rename
> > oid2name to relfilenode2name, and perhaps move it into the main tree.
> >
> > TODO item added:
> >
> > Rename oid2name to relfilenode2name and install by default

Should it be renamed to pg_<something> for namespace consistency?

:-)

Regards and best wishes,

Justin Clift

> Actually, to be accurate, I think databases are stored based on their
> oid and tables/indexes are stored based on their relfilenode. That is
> pretty confusing. Do we still do the renaming?
>
> --
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-10-12 19:19:32 Re: oid2name and relfilenode
Previous Message Bruce Momjian 2002-10-12 19:13:42 Re: oid2name and relfilenode