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
Soroosh Sardari soroosh.sard...@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,
On Sat, Oct 19, 2013 at 11:53 AM, Tom Lane t...@sss.pgh.pa.us wrote:
Soroosh Sardari soroosh.sard...@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'
The docs have this description for pg_class::relfilenode: Name of the
on-disk file of this relation; 0 if none. However, Elein just pointed
out to me that there are no entries with 0, so this description seems
incorrect. What should we say? It appears that in at least some of these
cases the
On Thu, Oct 27, 2005 at 09:12:15PM -0400, Andrew Dunstan wrote:
The docs have this description for pg_class::relfilenode: Name of the
on-disk file of this relation; 0 if none. However, Elein just pointed
out to me that there are no entries with 0, so this description seems
incorrect. What
On Thu, Oct 27, 2005 at 09:12:15PM -0400, Andrew Dunstan wrote:
The docs have this description for pg_class::relfilenode: Name of the
on-disk file of this relation; 0 if none. However, Elein just pointed
out to me that there are no entries with 0, so this description seems
incorrect. What
Andrew Dunstan [EMAIL PROTECTED] writes:
The docs have this description for pg_class::relfilenode: Name of the
on-disk file of this relation; 0 if none. However, Elein just pointed
out to me that there are no entries with 0, so this description seems
incorrect. What should we say? It