#include "storage/backendid.h"
Go to the source code of this file.
Data Structures | |
struct | RelFileNode |
struct | RelFileNodeBackend |
Defines | |
#define | MAX_FORKNUM INIT_FORKNUM |
#define | RelFileNodeBackendIsTemp(rnode) ((rnode).backend != InvalidBackendId) |
#define | RelFileNodeEquals(node1, node2) |
#define | RelFileNodeBackendEquals(node1, node2) |
Typedefs | |
typedef enum ForkNumber | ForkNumber |
typedef struct RelFileNode | RelFileNode |
typedef struct RelFileNodeBackend | RelFileNodeBackend |
Enumerations | |
enum | ForkNumber { InvalidForkNumber = -1, MAIN_FORKNUM = 0, FSM_FORKNUM, VISIBILITYMAP_FORKNUM, INIT_FORKNUM } |
#define MAX_FORKNUM INIT_FORKNUM |
Definition at line 39 of file relfilenode.h.
Referenced by mdsync().
#define RelFileNodeBackendEquals | ( | node1, | ||
node2 | ||||
) |
((node1).node.relNode == (node2).node.relNode && \ (node1).node.dbNode == (node2).node.dbNode && \ (node1).backend == (node2).backend && \ (node1).node.spcNode == (node2).node.spcNode)
Definition at line 113 of file relfilenode.h.
#define RelFileNodeBackendIsTemp | ( | rnode | ) | ((rnode).backend != InvalidBackendId) |
Definition at line 98 of file relfilenode.h.
Referenced by DropRelFileNodeBuffers(), DropRelFileNodesAllBuffers(), mdunlink(), mdunlinkfork(), and register_unlink().
#define RelFileNodeEquals | ( | node1, | ||
node2 | ||||
) |
((node1).relNode == (node2).relNode && \ (node1).dbNode == (node2).dbNode && \ (node1).spcNode == (node2).spcNode)
Definition at line 108 of file relfilenode.h.
Referenced by DropRelFileNodeAllLocalBuffers(), DropRelFileNodeBuffers(), DropRelFileNodeLocalBuffers(), DropRelFileNodesAllBuffers(), FlushRelationBuffers(), forget_invalid_pages(), forget_matching_deletion(), forget_matching_split(), forgetIncompleteSplit(), RelationPreserveStorage(), ReleaseAndReadBuffer(), and ss_search().
typedef enum ForkNumber ForkNumber |
typedef struct RelFileNode RelFileNode |
typedef struct RelFileNodeBackend RelFileNodeBackend |
enum ForkNumber |
Definition at line 25 of file relfilenode.h.
{ InvalidForkNumber = -1, MAIN_FORKNUM = 0, FSM_FORKNUM, VISIBILITYMAP_FORKNUM, INIT_FORKNUM /* * NOTE: if you add a new fork, change MAX_FORKNUM below and update the * forkNames array in catalog.c */ } ForkNumber;