PostgreSQL Source Code  git master
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, on pg_language using btree(lanname name_ops))
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_language_oid_index, 2682, LanguageOidIndexId, on pg_language using btree(oid oid_ops))
 

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.

References BKI_DEFAULT, BKI_LOOKUP, and BKI_LOOKUP_OPT.

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
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_DEFAULT(value)
Definition: genbki.h:35
Definition: c.h:675
#define BKI_LOOKUP_OPT(catalog)
Definition: genbki.h:47
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
FormData_pg_language
Definition: pg_language.h:58

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_language  ,
4157  ,
4158   
)

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_language_name_index  ,
2681  ,
LanguageNameIndexId  ,
on pg_language using   btreelanname name_ops 
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_language_oid_index  ,
2682  ,
LanguageOidIndexId  ,
on pg_language using   btreeoid oid_ops 
)

Variable Documentation

◆ FormData_pg_language

FormData_pg_language

Definition at line 58 of file pg_language.h.