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, on pg_foreign_data_wrapper using btree(oid oid_ops))
 
 DECLARE_UNIQUE_INDEX (pg_foreign_data_wrapper_name_index, 548, ForeignDataWrapperNameIndexId, on pg_foreign_data_wrapper using btree(fdwname name_ops))
 

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.

References BKI_LOOKUP, and BKI_LOOKUP_OPT.

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
unsigned int Oid
Definition: postgres_ext.h:31
FormData_pg_foreign_data_wrapper
Definition: c.h:675
#define BKI_LOOKUP_OPT(catalog)
Definition: genbki.h:47
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
Definition: c.h:621

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_foreign_data_wrapper  ,
4149  ,
4150   
)

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_foreign_data_wrapper_name_index  ,
548  ,
ForeignDataWrapperNameIndexId  ,
on pg_foreign_data_wrapper using   btreefdwname name_ops 
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_foreign_data_wrapper_oid_index  ,
112  ,
ForeignDataWrapperOidIndexId  ,
on pg_foreign_data_wrapper using   btreeoid oid_ops 
)

Variable Documentation

◆ FormData_pg_foreign_data_wrapper

FormData_pg_foreign_data_wrapper

Definition at line 44 of file pg_foreign_data_wrapper.h.