PostgreSQL Source Code git master
Loading...
Searching...
No Matches
pg_extension.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_extension_d.h"
Include dependency graph for pg_extension.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_extension, 3079, ExtensionRelationId)
 
 DECLARE_TOAST (pg_extension, 4147, 4148)
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_extension_oid_index, 3080, ExtensionOidIndexId, pg_extension, btree(oid oid_ops))
 
 DECLARE_UNIQUE_INDEX (pg_extension_name_index, 3081, ExtensionNameIndexId, pg_extension, btree(extname name_ops))
 
 MAKE_SYSCACHE (EXTENSIONOID, pg_extension_oid_index, 2)
 
 MAKE_SYSCACHE (EXTENSIONNAME, pg_extension_name_index, 2)
 

Variables

END_CATALOG_STRUCT typedef FormData_pg_extensionForm_pg_extension
 
 FormData_pg_extension
 

Function Documentation

◆ CATALOG()

BEGIN_CATALOG_STRUCT CATALOG ( pg_extension  ,
3079  ,
ExtensionRelationId   
)

Definition at line 31 of file pg_extension.h.

32{
33 Oid oid; /* oid */
34 NameData extname; /* extension name */
35 Oid extowner BKI_LOOKUP(pg_authid); /* extension owner */
36 Oid extnamespace BKI_LOOKUP(pg_namespace); /* namespace of
37 * contained objects */
38 bool extrelocatable; /* if true, allow ALTER EXTENSION SET SCHEMA */
39
40#ifdef CATALOG_VARLEN /* variable-length fields start here */
41 /* extversion may never be null, but the others can be. */
42 text extversion BKI_FORCE_NOT_NULL; /* extension version name */
43 Oid extconfig[1] BKI_LOOKUP(pg_class); /* dumpable configuration
44 * tables */
45 text extcondition[1]; /* WHERE clauses for config tables */
46#endif
#define BKI_LOOKUP(catalog)
Definition genbki.h:65
#define BKI_FORCE_NOT_NULL
Definition genbki.h:52
FormData_pg_extension
unsigned int Oid
static int fb(int x)
Definition c.h:802
Definition c.h:748

References BKI_FORCE_NOT_NULL, BKI_LOOKUP, and fb().

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_extension  ,
4147  ,
4148   
)

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_extension_name_index  ,
3081  ,
ExtensionNameIndexId  ,
pg_extension  ,
btree(extname name_ops  
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_extension_oid_index  ,
3080  ,
ExtensionOidIndexId  ,
pg_extension  ,
btree(oid oid_ops  
)

◆ MAKE_SYSCACHE() [1/2]

MAKE_SYSCACHE ( EXTENSIONNAME  ,
pg_extension_name_index  ,
 
)

◆ MAKE_SYSCACHE() [2/2]

MAKE_SYSCACHE ( EXTENSIONOID  ,
pg_extension_oid_index  ,
 
)

Variable Documentation

◆ Form_pg_extension

◆ FormData_pg_extension

FormData_pg_extension

Definition at line 47 of file pg_extension.h.