PostgreSQL Source Code  git master
pg_replication_origin.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_replication_origin_d.h"
#include "access/xlogdefs.h"
Include dependency graph for pg_replication_origin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef FormData_pg_replication_originForm_pg_replication_origin
 

Functions

 CATALOG (pg_replication_origin, 6000, ReplicationOriginRelationId) BKI_SHARED_RELATION BKI_WITHOUT_OIDS
 

Variables

 FormData_pg_replication_origin
 

Typedef Documentation

◆ Form_pg_replication_origin

Function Documentation

◆ CATALOG()

CATALOG ( pg_replication_origin  ,
6000  ,
ReplicationOriginRelationId   
)

Definition at line 31 of file pg_replication_origin.h.

References BKI_FORCE_NOT_NULL.

32 {
33  /*
34  * Locally known id that get included into WAL.
35  *
36  * This should never leave the system.
37  *
38  * Needs to fit into an uint16, so we don't waste too much space in WAL
39  * records. For this reason we don't use a normal Oid column here, since
40  * we need to handle allocation of new values manually.
41  */
42  Oid roident;
43 
44  /*
45  * Variable-length fields start here, but we allow direct access to
46  * roname.
47  */
48 
49  /* external, free-format, name */
50  text roname BKI_FORCE_NOT_NULL;
51 
52 #ifdef CATALOG_VARLEN /* further variable-length fields */
53 #endif
FormData_pg_replication_origin
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_FORCE_NOT_NULL
Definition: genbki.h:34
Definition: c.h:516

Variable Documentation

◆ FormData_pg_replication_origin

FormData_pg_replication_origin

Definition at line 54 of file pg_replication_origin.h.