PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pg_extension.h File Reference
#include "catalog/genbki.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 ExtensionRelationId   3079
 
#define Natts_pg_extension   7
 
#define Anum_pg_extension_extname   1
 
#define Anum_pg_extension_extowner   2
 
#define Anum_pg_extension_extnamespace   3
 
#define Anum_pg_extension_extrelocatable   4
 
#define Anum_pg_extension_extversion   5
 
#define Anum_pg_extension_extconfig   6
 
#define Anum_pg_extension_extcondition   7
 

Typedefs

typedef FormData_pg_extensionForm_pg_extension
 

Functions

 CATALOG (pg_extension, 3079)
 

Variables

 FormData_pg_extension
 

Macro Definition Documentation

#define Anum_pg_extension_extcondition   7
#define Anum_pg_extension_extconfig   6
#define Anum_pg_extension_extname   1

Definition at line 59 of file pg_extension.h.

Referenced by ExecAlterExtensionStmt(), get_extension_oid(), and InsertExtensionTuple().

#define Anum_pg_extension_extnamespace   3

Definition at line 61 of file pg_extension.h.

Referenced by InsertExtensionTuple().

#define Anum_pg_extension_extowner   2

Definition at line 60 of file pg_extension.h.

Referenced by InsertExtensionTuple().

#define Anum_pg_extension_extrelocatable   4

Definition at line 62 of file pg_extension.h.

Referenced by ApplyExtensionUpdates(), and InsertExtensionTuple().

#define Anum_pg_extension_extversion   5
#define Natts_pg_extension   7

Typedef Documentation

Function Documentation

CATALOG ( pg_extension  ,
3079   
)

Definition at line 31 of file pg_extension.h.

References BKI_FORCE_NOT_NULL.

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

Variable Documentation

FormData_pg_extension

Definition at line 44 of file pg_extension.h.