PostgreSQL Source Code git master
Loading...
Searching...
No Matches
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.

Functions

BEGIN_CATALOG_STRUCT 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

END_CATALOG_STRUCT typedef FormData_pg_foreign_data_wrapperForm_pg_foreign_data_wrapper
 
 FormData_pg_foreign_data_wrapper
 

Function Documentation

◆ CATALOG()

Definition at line 31 of file pg_foreign_data_wrapper.h.

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

References BKI_LOOKUP, BKI_LOOKUP_OPT, and fb().

◆ 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() [2/2]

MAKE_SYSCACHE ( FOREIGNDATAWRAPPEROID  ,
pg_foreign_data_wrapper_oid_index  ,
 
)

Variable Documentation

◆ Form_pg_foreign_data_wrapper

◆ FormData_pg_foreign_data_wrapper

FormData_pg_foreign_data_wrapper

Definition at line 46 of file pg_foreign_data_wrapper.h.