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

Go to the source code of this file.

Typedefs

typedef FormData_pg_foreign_data_wrapperForm_pg_foreign_data_wrapper
 

Functions

 CATALOG (pg_foreign_data_wrapper, 2328, ForeignDataWrapperRelationId)
 
 DECLARE_TOAST (pg_foreign_data_wrapper, 4149, 4150)
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_foreign_data_wrapper_oid_index, 112, ForeignDataWrapperOidIndexId, pg_foreign_data_wrapper, btree(oid oid_ops))
 
 DECLARE_UNIQUE_INDEX (pg_foreign_data_wrapper_name_index, 548, ForeignDataWrapperNameIndexId, pg_foreign_data_wrapper, btree(fdwname name_ops))
 
 MAKE_SYSCACHE (FOREIGNDATAWRAPPEROID, pg_foreign_data_wrapper_oid_index, 2)
 
 MAKE_SYSCACHE (FOREIGNDATAWRAPPERNAME, pg_foreign_data_wrapper_name_index, 2)
 

Variables

 FormData_pg_foreign_data_wrapper
 

Typedef Documentation

◆ Form_pg_foreign_data_wrapper

Function Documentation

◆ CATALOG()

CATALOG ( pg_foreign_data_wrapper  ,
2328  ,
ForeignDataWrapperRelationId   
)

Definition at line 29 of file pg_foreign_data_wrapper.h.

30 {
31  Oid oid; /* oid */
32  NameData fdwname; /* foreign-data wrapper name */
33  Oid fdwowner BKI_LOOKUP(pg_authid); /* FDW owner */
34  Oid fdwhandler BKI_LOOKUP_OPT(pg_proc); /* handler function, or 0
35  * if none */
36  Oid fdwvalidator BKI_LOOKUP_OPT(pg_proc); /* option validation
37  * function, or 0 if
38  * none */
39 
40 #ifdef CATALOG_VARLEN /* variable-length fields start here */
41  aclitem fdwacl[1]; /* access permissions */
42  text fdwoptions[1]; /* FDW options */
43 #endif
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
#define BKI_LOOKUP_OPT(catalog)
Definition: genbki.h:47
FormData_pg_foreign_data_wrapper
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:695
Definition: c.h:641

References BKI_LOOKUP, and BKI_LOOKUP_OPT.

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_foreign_data_wrapper  ,
4149  ,
4150   
)

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_foreign_data_wrapper_name_index  ,
548  ,
ForeignDataWrapperNameIndexId  ,
pg_foreign_data_wrapper  ,
btree(fdwname name_ops)   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_foreign_data_wrapper_oid_index  ,
112  ,
ForeignDataWrapperOidIndexId  ,
pg_foreign_data_wrapper  ,
btree(oid oid_ops)   
)

◆ MAKE_SYSCACHE() [1/2]

MAKE_SYSCACHE ( FOREIGNDATAWRAPPERNAME  ,
pg_foreign_data_wrapper_name_index  ,
 
)

◆ MAKE_SYSCACHE() [2/2]

MAKE_SYSCACHE ( FOREIGNDATAWRAPPEROID  ,
pg_foreign_data_wrapper_oid_index  ,
 
)

Variable Documentation

◆ FormData_pg_foreign_data_wrapper

FormData_pg_foreign_data_wrapper

Definition at line 44 of file pg_foreign_data_wrapper.h.