Re: oid2name and relfilenode - Mailing list pgsql-hackers

From Justin Clift
Subject Re: oid2name and relfilenode
Date
Msg-id 3DA87527.6FA7BD2B@postgresql.org
Whole thread Raw
In response to Re: oid2name and relfilenode  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: oid2name and relfilenode  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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@candle.pha.pa.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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: oid2name and relfilenode
Next
From: Bruce Momjian
Date:
Subject: Re: oid2name and relfilenode