PostgreSQL Source Code git master
Loading...
Searching...
No Matches
pg_foreign_server.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_foreign_server_d.h"
Include dependency graph for pg_foreign_server.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_server, 1417, ForeignServerRelationId)
 
 DECLARE_TOAST (pg_foreign_server, 4151, 4152)
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_foreign_server_oid_index, 113, ForeignServerOidIndexId, pg_foreign_server, btree(oid oid_ops))
 
 DECLARE_UNIQUE_INDEX (pg_foreign_server_name_index, 549, ForeignServerNameIndexId, pg_foreign_server, btree(srvname name_ops))
 
 MAKE_SYSCACHE (FOREIGNSERVEROID, pg_foreign_server_oid_index, 2)
 
 MAKE_SYSCACHE (FOREIGNSERVERNAME, pg_foreign_server_name_index, 2)
 

Variables

END_CATALOG_STRUCT typedef FormData_pg_foreign_serverForm_pg_foreign_server
 
 FormData_pg_foreign_server
 

Function Documentation

◆ CATALOG()

Definition at line 30 of file pg_foreign_server.h.

31{
32 Oid oid; /* oid */
33 NameData srvname; /* foreign server name */
34 Oid srvowner BKI_LOOKUP(pg_authid); /* server owner */
35 Oid srvfdw BKI_LOOKUP(pg_foreign_data_wrapper); /* server FDW */
36
37#ifdef CATALOG_VARLEN /* variable-length fields start here */
38 text srvtype;
39 text srvversion;
40 aclitem srvacl[1]; /* access permissions */
41 text srvoptions[1]; /* FDW-specific options */
42#endif
#define BKI_LOOKUP(catalog)
Definition genbki.h:65
FormData_pg_foreign_server
unsigned int Oid
static int fb(int x)
Definition c.h:772
Definition c.h:718

References BKI_LOOKUP, and fb().

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_foreign_server  ,
4151  ,
4152   
)

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_foreign_server_name_index  ,
549  ,
ForeignServerNameIndexId  ,
pg_foreign_server  ,
btree(srvname name_ops  
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_foreign_server_oid_index  ,
113  ,
ForeignServerOidIndexId  ,
pg_foreign_server  ,
btree(oid oid_ops  
)

◆ MAKE_SYSCACHE() [1/2]

MAKE_SYSCACHE ( FOREIGNSERVERNAME  ,
pg_foreign_server_name_index  ,
 
)

◆ MAKE_SYSCACHE() [2/2]

MAKE_SYSCACHE ( FOREIGNSERVEROID  ,
pg_foreign_server_oid_index  ,
 
)

Variable Documentation

◆ Form_pg_foreign_server

◆ FormData_pg_foreign_server

FormData_pg_foreign_server

Definition at line 43 of file pg_foreign_server.h.