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

Functions

BEGIN_CATALOG_STRUCT CATALOG (pg_foreign_table, 3118, ForeignTableRelationId)
 
 DECLARE_TOAST (pg_foreign_table, 4153, 4154)
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_foreign_table_relid_index, 3119, ForeignTableRelidIndexId, pg_foreign_table, btree(ftrelid oid_ops))
 
 MAKE_SYSCACHE (FOREIGNTABLEREL, pg_foreign_table_relid_index, 4)
 

Variables

END_CATALOG_STRUCT typedef FormData_pg_foreign_tableForm_pg_foreign_table
 
 FormData_pg_foreign_table
 

Function Documentation

◆ CATALOG()

Definition at line 30 of file pg_foreign_table.h.

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

References BKI_LOOKUP, and fb().

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_foreign_table  ,
4153  ,
4154   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_foreign_table_relid_index  ,
3119  ,
ForeignTableRelidIndexId  ,
pg_foreign_table  ,
btree(ftrelid oid_ops  
)

◆ MAKE_SYSCACHE()

MAKE_SYSCACHE ( FOREIGNTABLEREL  ,
pg_foreign_table_relid_index  ,
 
)

Variable Documentation

◆ Form_pg_foreign_table

◆ FormData_pg_foreign_table

FormData_pg_foreign_table

Definition at line 38 of file pg_foreign_table.h.