PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pg_language.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_language_d.h"
Include dependency graph for pg_language.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef FormData_pg_languageForm_pg_language
 

Functions

 CATALOG (pg_language, 2612, LanguageRelationId)
 
 DECLARE_TOAST (pg_language, 4157, 4158)
 
 DECLARE_UNIQUE_INDEX (pg_language_name_index, 2681, LanguageNameIndexId, pg_language, btree(lanname name_ops))
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_language_oid_index, 2682, LanguageOidIndexId, pg_language, btree(oid oid_ops))
 
 MAKE_SYSCACHE (LANGNAME, pg_language_name_index, 4)
 
 MAKE_SYSCACHE (LANGOID, pg_language_oid_index, 4)
 

Variables

 FormData_pg_language
 

Typedef Documentation

◆ Form_pg_language

Definition at line 65 of file pg_language.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_language  ,
2612  ,
LanguageRelationId   
)

Definition at line 29 of file pg_language.h.

30{
31 Oid oid; /* oid */
32
33 /* Language name */
34 NameData lanname;
35
36 /* Language's owner */
37 Oid lanowner BKI_DEFAULT(POSTGRES) BKI_LOOKUP(pg_authid);
38
39 /* Is a procedural language */
40 bool lanispl BKI_DEFAULT(f);
41
42 /* PL is trusted */
43 bool lanpltrusted BKI_DEFAULT(f);
44
45 /* Call handler, if it's a PL */
46 Oid lanplcallfoid BKI_DEFAULT(0) BKI_LOOKUP_OPT(pg_proc);
47
48 /* Optional anonymous-block handler function */
49 Oid laninline BKI_DEFAULT(0) BKI_LOOKUP_OPT(pg_proc);
50
51 /* Optional validation function */
52 Oid lanvalidator BKI_DEFAULT(0) BKI_LOOKUP_OPT(pg_proc);
53
54#ifdef CATALOG_VARLEN /* variable-length fields start here */
55 /* Access privileges */
56 aclitem lanacl[1] BKI_DEFAULT(_null_);
57#endif
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
#define BKI_DEFAULT(value)
Definition: genbki.h:35
#define BKI_LOOKUP_OPT(catalog)
Definition: genbki.h:47
FormData_pg_language
Definition: pg_language.h:58
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:695

References BKI_DEFAULT, BKI_LOOKUP, and BKI_LOOKUP_OPT.

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_language  ,
4157  ,
4158   
)

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_language_name_index  ,
2681  ,
LanguageNameIndexId  ,
pg_language  ,
btree(lanname name_ops)   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_language_oid_index  ,
2682  ,
LanguageOidIndexId  ,
pg_language  ,
btree(oid oid_ops)   
)

◆ MAKE_SYSCACHE() [1/2]

MAKE_SYSCACHE ( LANGNAME  ,
pg_language_name_index  ,
 
)

◆ MAKE_SYSCACHE() [2/2]

MAKE_SYSCACHE ( LANGOID  ,
pg_language_oid_index  ,
 
)

Variable Documentation

◆ FormData_pg_language

FormData_pg_language

Definition at line 58 of file pg_language.h.