PostgreSQL Source Code  git master
pg_foreign_table.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_foreign_table_d.h"
Include dependency graph for pg_foreign_table.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef FormData_pg_foreign_tableForm_pg_foreign_table
 

Functions

 CATALOG (pg_foreign_table, 3118, ForeignTableRelationId)
 
 DECLARE_TOAST (pg_foreign_table, 4153, 4154)
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_foreign_table_relid_index, 3119, ForeignTableRelidIndexId, on pg_foreign_table using btree(ftrelid oid_ops))
 

Variables

 FormData_pg_foreign_table
 

Typedef Documentation

◆ Form_pg_foreign_table

Function Documentation

◆ CATALOG()

CATALOG ( pg_foreign_table  ,
3118  ,
ForeignTableRelationId   
)

Definition at line 28 of file pg_foreign_table.h.

29 {
30  Oid ftrelid BKI_LOOKUP(pg_class); /* OID of foreign table */
31  Oid ftserver BKI_LOOKUP(pg_foreign_server); /* OID of foreign server */
32 
33 #ifdef CATALOG_VARLEN /* variable-length fields start here */
34  text ftoptions[1]; /* FDW-specific options */
35 #endif
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
FormData_pg_foreign_table
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:622

References BKI_LOOKUP.

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_foreign_table  ,
4153  ,
4154   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_foreign_table_relid_index  ,
3119  ,
ForeignTableRelidIndexId  ,
on pg_foreign_table using   btreeftrelid oid_ops 
)

Variable Documentation

◆ FormData_pg_foreign_table

FormData_pg_foreign_table

Definition at line 36 of file pg_foreign_table.h.