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.

Macros

#define ForeignDataWrapperOidIndexId   112
 
#define ForeignDataWrapperNameIndexId   548
 

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

Variables

 FormData_pg_foreign_data_wrapper
 

Macro Definition Documentation

◆ ForeignDataWrapperNameIndexId

#define ForeignDataWrapperNameIndexId   548

Definition at line 55 of file pg_foreign_data_wrapper.h.

◆ ForeignDataWrapperOidIndexId

#define ForeignDataWrapperOidIndexId   112

Definition at line 53 of file pg_foreign_data_wrapper.h.

Referenced by CreateForeignDataWrapper().

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; /* FDW owner */
34  Oid fdwhandler; /* handler function, or 0 if none */
35  Oid fdwvalidator; /* option validation function, or 0 if none */
36 
37 #ifdef CATALOG_VARLEN /* variable-length fields start here */
38  aclitem fdwacl[1]; /* access permissions */
39  text fdwoptions[1]; /* FDW options */
40 #endif
unsigned int Oid
Definition: postgres_ext.h:31
FormData_pg_foreign_data_wrapper
Definition: c.h:663
Definition: c.h:609

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_foreign_data_wrapper  ,
4149  ,
4150   
)

◆ DECLARE_UNIQUE_INDEX() [1/2]

DECLARE_UNIQUE_INDEX ( pg_foreign_data_wrapper_oid_index  ,
112  ,
on pg_foreign_data_wrapper using   btreeoid oid_ops 
)

◆ DECLARE_UNIQUE_INDEX() [2/2]

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

Variable Documentation

◆ FormData_pg_foreign_data_wrapper

FormData_pg_foreign_data_wrapper

Definition at line 41 of file pg_foreign_data_wrapper.h.