> -----Original Message-----
> From: owner-pgsql-hackers@postgreSQL.org
> [mailto:owner-pgsql-hackers@postgreSQL.org]On Behalf Of Bruce Momjian
>
> > Looked like it was going to be very simple: the RelationGetRelationName
> > and RelationGetPhysicalRelationName macros encapsulate access to the
> > (relation)->rd_rel->relname structure member pretty effectively (thanks
> > to Bruce's temp. relation work, I presume)
>
> Yes.
>
> > As a first crack, I decided to use the oid for the filename,
> just because
> > it simplified the chamges to the Macro, and there was already
> an oidout()
> > builtin that'd do the palloc for me ;-)
> >
I object to this proposal.
I have been suspicious why mapping algorithm from relations
to the relation file names is needed for existent relations.
This should be changed first.
And pluaral relation file names are needed for a relation oid/relname.
Why do you prefer fixed mapping oid/relname --> relation file name ?
Regards.
Hiroshi Inoue
Inoue@tpf.co.jp