PostgreSQL Source Code  git master
pg_foreign_server.h File Reference
#include "catalog/genbki.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 ForeignServerRelationId   1417
 
#define Natts_pg_foreign_server   7
 
#define Anum_pg_foreign_server_srvname   1
 
#define Anum_pg_foreign_server_srvowner   2
 
#define Anum_pg_foreign_server_srvfdw   3
 
#define Anum_pg_foreign_server_srvtype   4
 
#define Anum_pg_foreign_server_srvversion   5
 
#define Anum_pg_foreign_server_srvacl   6
 
#define Anum_pg_foreign_server_srvoptions   7
 

Typedefs

typedef FormData_pg_foreign_serverForm_pg_foreign_server
 

Functions

 CATALOG (pg_foreign_server, 1417)
 

Variables

 FormData_pg_foreign_server
 

Macro Definition Documentation

◆ Anum_pg_foreign_server_srvacl

#define Anum_pg_foreign_server_srvacl   6

◆ Anum_pg_foreign_server_srvfdw

#define Anum_pg_foreign_server_srvfdw   3

Definition at line 58 of file pg_foreign_server.h.

Referenced by CreateForeignServer().

◆ Anum_pg_foreign_server_srvname

#define Anum_pg_foreign_server_srvname   1

Definition at line 56 of file pg_foreign_server.h.

Referenced by CreateForeignServer().

◆ Anum_pg_foreign_server_srvoptions

#define Anum_pg_foreign_server_srvoptions   7

Definition at line 62 of file pg_foreign_server.h.

Referenced by AlterForeignServer(), CreateForeignServer(), and GetForeignServer().

◆ Anum_pg_foreign_server_srvowner

#define Anum_pg_foreign_server_srvowner   2

Definition at line 57 of file pg_foreign_server.h.

Referenced by AlterForeignServerOwner_internal(), and CreateForeignServer().

◆ Anum_pg_foreign_server_srvtype

#define Anum_pg_foreign_server_srvtype   4

Definition at line 59 of file pg_foreign_server.h.

Referenced by CreateForeignServer(), and GetForeignServer().

◆ Anum_pg_foreign_server_srvversion

#define Anum_pg_foreign_server_srvversion   5

Definition at line 60 of file pg_foreign_server.h.

Referenced by AlterForeignServer(), CreateForeignServer(), and GetForeignServer().

◆ ForeignServerRelationId

◆ Natts_pg_foreign_server

#define Natts_pg_foreign_server   7

Typedef Documentation

◆ Form_pg_foreign_server

Function Documentation

◆ CATALOG()

CATALOG ( pg_foreign_server  ,
1417   
)

Definition at line 29 of file pg_foreign_server.h.

30 {
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:551
FormData_pg_foreign_server
Definition: c.h:497

Variable Documentation

◆ FormData_pg_foreign_server

FormData_pg_foreign_server

Definition at line 41 of file pg_foreign_server.h.