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

Go to the source code of this file.

Macros

#define PublicationRelObjectIndexId   6112
 
#define PublicationRelPrrelidPrpubidIndexId   6113
 

Typedefs

typedef FormData_pg_publication_relForm_pg_publication_rel
 

Functions

 CATALOG (pg_publication_rel, 6106, PublicationRelRelationId)
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_publication_rel_oid_index, 6112, on pg_publication_rel using btree(oid oid_ops))
 
 DECLARE_UNIQUE_INDEX (pg_publication_rel_prrelid_prpubid_index, 6113, on pg_publication_rel using btree(prrelid oid_ops, prpubid oid_ops))
 

Variables

 FormData_pg_publication_rel
 

Macro Definition Documentation

◆ PublicationRelObjectIndexId

#define PublicationRelObjectIndexId   6112

Definition at line 44 of file pg_publication_rel.h.

Referenced by publication_add_relation().

◆ PublicationRelPrrelidPrpubidIndexId

#define PublicationRelPrrelidPrpubidIndexId   6113

Definition at line 46 of file pg_publication_rel.h.

Referenced by GetPublicationRelations().

Typedef Documentation

◆ Form_pg_publication_rel

Function Documentation

◆ CATALOG()

CATALOG ( pg_publication_rel  ,
6106  ,
PublicationRelRelationId   
)

Definition at line 29 of file pg_publication_rel.h.

References BKI_LOOKUP.

30 {
31  Oid oid; /* oid */
32  Oid prpubid BKI_LOOKUP(pg_publication); /* Oid of the publication */
33  Oid prrelid BKI_LOOKUP(pg_class); /* Oid of the relation */
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
FormData_pg_publication_rel

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_publication_rel_prrelid_prpubid_index  ,
6113  ,
on pg_publication_rel using   btreeprrelid oid_ops, prpubid oid_ops 
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_publication_rel_oid_index  ,
6112  ,
on pg_publication_rel using   btreeoid oid_ops 
)

Variable Documentation

◆ FormData_pg_publication_rel

FormData_pg_publication_rel

Definition at line 34 of file pg_publication_rel.h.