On Sat, Oct 19, 2013 at 11:53 AM, Tom Lane wrote:
> Soroosh Sardari 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
>
Soroosh Sardari 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).
Hi
I need to get a Relation instance but I have only a RelFileNode!
I see the relcache.h, only the following function seems helpful
extern Relation RelationIdGetRelation(Oid relationId);
However, there is another problem, In the RelFileNode, only relNode exist
and as comment said this is equival