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

Macros

#define ExtensionOidIndexId   3080
 
#define ExtensionNameIndexId   3081
 

Typedefs

typedef FormData_pg_extensionForm_pg_extension
 

Functions

 CATALOG (pg_extension, 3079, ExtensionRelationId)
 
 DECLARE_TOAST (pg_extension, 4147, 4148)
 
 DECLARE_UNIQUE_INDEX (pg_extension_oid_index, 3080, on pg_extension using btree(oid oid_ops))
 
 DECLARE_UNIQUE_INDEX (pg_extension_name_index, 3081, on pg_extension using btree(extname name_ops))
 

Variables

 FormData_pg_extension
 

Macro Definition Documentation

◆ ExtensionNameIndexId

#define ExtensionNameIndexId   3081

Definition at line 57 of file pg_extension.h.

Referenced by ExecAlterExtensionStmt(), and get_extension_oid().

◆ ExtensionOidIndexId

Typedef Documentation

◆ Form_pg_extension

Definition at line 50 of file pg_extension.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_extension  ,
3079  ,
ExtensionRelationId   
)

Definition at line 29 of file pg_extension.h.

References BKI_FORCE_NOT_NULL.

30 {
31  Oid oid; /* oid */
32  NameData extname; /* extension name */
33  Oid extowner; /* extension owner */
34  Oid extnamespace; /* namespace of contained objects */
35  bool extrelocatable; /* if true, allow ALTER EXTENSION SET SCHEMA */
36 
37 #ifdef CATALOG_VARLEN /* variable-length fields start here */
38  /* extversion may never be null, but the others can be. */
39  text extversion BKI_FORCE_NOT_NULL; /* extension version name */
40  Oid extconfig[1]; /* dumpable configuration tables */
41  text extcondition[1]; /* WHERE clauses for config tables */
42 #endif
FormData_pg_extension
Definition: pg_extension.h:43
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_FORCE_NOT_NULL
Definition: genbki.h:33
Definition: c.h:663
Definition: c.h:609

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_extension  ,
4147  ,
4148   
)

◆ DECLARE_UNIQUE_INDEX() [1/2]

DECLARE_UNIQUE_INDEX ( pg_extension_oid_index  ,
3080  ,
on pg_extension using   btreeoid oid_ops 
)

◆ DECLARE_UNIQUE_INDEX() [2/2]

DECLARE_UNIQUE_INDEX ( pg_extension_name_index  ,
3081  ,
on pg_extension using   btreeextname name_ops 
)

Variable Documentation

◆ FormData_pg_extension

FormData_pg_extension

Definition at line 43 of file pg_extension.h.