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.

Typedefs

typedef FormData_pg_extensionForm_pg_extension
 

Functions

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

Variables

 FormData_pg_extension
 

Typedef Documentation

◆ Form_pg_extension

Definition at line 52 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, and BKI_LOOKUP.

30 {
31  Oid oid; /* oid */
32  NameData extname; /* extension name */
33  Oid extowner BKI_LOOKUP(pg_authid); /* extension owner */
34  Oid extnamespace BKI_LOOKUP(pg_namespace); /* namespace of
35  * 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] BKI_LOOKUP(pg_class); /* dumpable configuration
42  * tables */
43  text extcondition[1]; /* WHERE clauses for config tables */
44 #endif
FormData_pg_extension
Definition: pg_extension.h:45
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_FORCE_NOT_NULL
Definition: genbki.h:33
Definition: c.h:675
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
Definition: c.h:621

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_extension  ,
4147  ,
4148   
)

◆ DECLARE_UNIQUE_INDEX()

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

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_extension_oid_index  ,
3080  ,
ExtensionOidIndexId  ,
on pg_extension using   btreeoid oid_ops 
)

Variable Documentation

◆ FormData_pg_extension

FormData_pg_extension

Definition at line 45 of file pg_extension.h.