blob: de4d1e1beea1ee13b97ec3ba4537cacc0a450159 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef RELFILENODE_H
#define RELFILENODE_H
/*
* This is all what we need to know to find relation file.
* tblNode is identificator of tablespace and because of
* currently our tablespaces are equal to databases this is
* database OID. relNode is currently relation OID on creation
* but may be changed later if required. relNode is stored in
* pg_class.relfilenode.
*/
typedef struct RelFileNode
{
Oid tblNode; /* tablespace */
Oid relNode; /* relation */
} RelFileNode;
#endif /* RELFILENODE_H */
|