PostgreSQL Source Code  git master
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.

Macros

#define ForeignServerOidIndexId   113
 
#define ForeignServerNameIndexId   549
 

Typedefs

typedef FormData_pg_foreign_serverForm_pg_foreign_server
 

Functions

 CATALOG (pg_foreign_server, 1417, ForeignServerRelationId)
 
 DECLARE_TOAST (pg_foreign_server, 4151, 4152)
 
 DECLARE_UNIQUE_INDEX (pg_foreign_server_oid_index, 113, on pg_foreign_server using btree(oid oid_ops))
 
 DECLARE_UNIQUE_INDEX (pg_foreign_server_name_index, 549, on pg_foreign_server using btree(srvname name_ops))
 

Variables

 FormData_pg_foreign_server
 

Macro Definition Documentation

◆ ForeignServerNameIndexId

#define ForeignServerNameIndexId   549

Definition at line 55 of file pg_foreign_server.h.

◆ ForeignServerOidIndexId

#define ForeignServerOidIndexId   113

Definition at line 53 of file pg_foreign_server.h.

Referenced by CreateForeignServer().

Typedef Documentation

◆ Form_pg_foreign_server

Function Documentation

◆ CATALOG()

CATALOG ( pg_foreign_server  ,
1417  ,
ForeignServerRelationId   
)

Definition at line 28 of file pg_foreign_server.h.

29 {
30  Oid oid; /* oid */
31  NameData srvname; /* foreign server name */
32  Oid srvowner; /* server owner */
33  Oid srvfdw; /* server FDW */
34 
35 #ifdef CATALOG_VARLEN /* variable-length fields start here */
36  text srvtype;
37  text srvversion;
38  aclitem srvacl[1]; /* access permissions */
39  text srvoptions[1]; /* FDW-specific options */
40 #endif
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:663
FormData_pg_foreign_server
Definition: c.h:609

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_foreign_server  ,
4151  ,
4152   
)

◆ DECLARE_UNIQUE_INDEX() [1/2]

DECLARE_UNIQUE_INDEX ( pg_foreign_server_oid_index  ,
113  ,
on pg_foreign_server using   btreeoid oid_ops 
)

◆ DECLARE_UNIQUE_INDEX() [2/2]

DECLARE_UNIQUE_INDEX ( pg_foreign_server_name_index  ,
549  ,
on pg_foreign_server using   btreesrvname name_ops 
)

Variable Documentation

◆ FormData_pg_foreign_server

FormData_pg_foreign_server

Definition at line 41 of file pg_foreign_server.h.