Re: RelFileNode to Relation - Mailing list pgsql-hackers

From Tom Lane
Subject Re: RelFileNode to Relation
Date
Msg-id 9372.1382171037@sss.pgh.pa.us
Whole thread Raw
In response to RelFileNode to Relation  (Soroosh Sardari <soroosh.sardari@gmail.com>)
Responses Re: RelFileNode to Relation  (Soroosh Sardari <soroosh.sardari@gmail.com>)
List pgsql-hackers
Soroosh Sardari <soroosh.sardari@gmail.com> writes:
> I need to get a Relation instance but I have only a RelFileNode!

Why do you think you need to do that?  Such a lookup is inherently the
wrong thing, because relations' relfilenode values are not fixed (unless
you have a lock on the relation, which presumably you don't).
        regards, tom lane



pgsql-hackers by date:

Previous
From: Soroosh Sardari
Date:
Subject: RelFileNode to Relation
Next
From: Soroosh Sardari
Date:
Subject: Re: RelFileNode to Relation