PostgreSQL Source Code  git master
pg_pltemplate.h File Reference
#include "catalog/genbki.h"
Include dependency graph for pg_pltemplate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PLTemplateRelationId   1136
 
#define Natts_pg_pltemplate   8
 
#define Anum_pg_pltemplate_tmplname   1
 
#define Anum_pg_pltemplate_tmpltrusted   2
 
#define Anum_pg_pltemplate_tmpldbacreate   3
 
#define Anum_pg_pltemplate_tmplhandler   4
 
#define Anum_pg_pltemplate_tmplinline   5
 
#define Anum_pg_pltemplate_tmplvalidator   6
 
#define Anum_pg_pltemplate_tmpllibrary   7
 
#define Anum_pg_pltemplate_tmplacl   8
 

Typedefs

typedef FormData_pg_pltemplateForm_pg_pltemplate
 

Functions

 CATALOG (pg_pltemplate, 1136) BKI_SHARED_RELATION BKI_WITHOUT_OIDS
 
 DATA (insert("plpgsql" t t "plpgsql_call_handler" "plpgsql_inline_handler" "plpgsql_validator" "$libdir/plpgsql" _null_))
 
 DATA (insert("pltcl" t t "pltcl_call_handler" _null_ _null_ "$libdir/pltcl" _null_))
 
 DATA (insert("pltclu" f f "pltclu_call_handler" _null_ _null_ "$libdir/pltcl" _null_))
 
 DATA (insert("plperl" t t "plperl_call_handler" "plperl_inline_handler" "plperl_validator" "$libdir/plperl" _null_))
 
 DATA (insert("plperlu" f f "plperlu_call_handler" "plperlu_inline_handler" "plperlu_validator" "$libdir/plperl" _null_))
 
 DATA (insert("plpythonu" f f "plpython_call_handler" "plpython_inline_handler" "plpython_validator" "$libdir/plpython2" _null_))
 
 DATA (insert("plpython2u" f f "plpython2_call_handler" "plpython2_inline_handler" "plpython2_validator" "$libdir/plpython2" _null_))
 
 DATA (insert("plpython3u" f f "plpython3_call_handler" "plpython3_inline_handler" "plpython3_validator" "$libdir/plpython3" _null_))
 

Variables

 FormData_pg_pltemplate
 

Macro Definition Documentation

◆ Anum_pg_pltemplate_tmplacl

#define Anum_pg_pltemplate_tmplacl   8

Definition at line 66 of file pg_pltemplate.h.

◆ Anum_pg_pltemplate_tmpldbacreate

#define Anum_pg_pltemplate_tmpldbacreate   3

Definition at line 61 of file pg_pltemplate.h.

◆ Anum_pg_pltemplate_tmplhandler

#define Anum_pg_pltemplate_tmplhandler   4

Definition at line 62 of file pg_pltemplate.h.

Referenced by find_language_template().

◆ Anum_pg_pltemplate_tmplinline

#define Anum_pg_pltemplate_tmplinline   5

Definition at line 63 of file pg_pltemplate.h.

Referenced by find_language_template().

◆ Anum_pg_pltemplate_tmpllibrary

#define Anum_pg_pltemplate_tmpllibrary   7

Definition at line 65 of file pg_pltemplate.h.

Referenced by find_language_template().

◆ Anum_pg_pltemplate_tmplname

#define Anum_pg_pltemplate_tmplname   1

Definition at line 59 of file pg_pltemplate.h.

Referenced by find_language_template().

◆ Anum_pg_pltemplate_tmpltrusted

#define Anum_pg_pltemplate_tmpltrusted   2

Definition at line 60 of file pg_pltemplate.h.

◆ Anum_pg_pltemplate_tmplvalidator

#define Anum_pg_pltemplate_tmplvalidator   6

Definition at line 64 of file pg_pltemplate.h.

Referenced by find_language_template().

◆ Natts_pg_pltemplate

#define Natts_pg_pltemplate   8

Definition at line 58 of file pg_pltemplate.h.

◆ PLTemplateRelationId

#define PLTemplateRelationId   1136

Definition at line 29 of file pg_pltemplate.h.

Referenced by find_language_template(), and IsSharedRelation().

Typedef Documentation

◆ Form_pg_pltemplate

Function Documentation

◆ CATALOG()

CATALOG ( pg_pltemplate  ,
1136   
)

Definition at line 31 of file pg_pltemplate.h.

References BKI_FORCE_NOT_NULL.

32 {
33  NameData tmplname; /* name of PL */
34  bool tmpltrusted; /* PL is trusted? */
35  bool tmpldbacreate; /* PL is installable by db owner? */
36 
37 #ifdef CATALOG_VARLEN /* variable-length fields start here */
38  text tmplhandler BKI_FORCE_NOT_NULL; /* name of call handler
39  * function */
40  text tmplinline; /* name of anonymous-block handler, or NULL */
41  text tmplvalidator; /* name of validator function, or NULL */
42  text tmpllibrary BKI_FORCE_NOT_NULL; /* path of shared library */
43  aclitem tmplacl[1]; /* access privileges for template */
44 #endif
FormData_pg_pltemplate
Definition: pg_pltemplate.h:45
#define BKI_FORCE_NOT_NULL
Definition: genbki.h:32
Definition: c.h:551
Definition: c.h:497

◆ DATA() [1/8]

DATA ( insert("plpgsql" t t "plpgsql_call_handler" "plpgsql_inline_handler" "plpgsql_validator" "$libdir/plpgsql" _null_)  )

◆ DATA() [2/8]

DATA ( insert("pltcl" t t "pltcl_call_handler" _null_ _null_ "$libdir/pltcl" _null_)  )

◆ DATA() [3/8]

DATA ( insert("pltclu" f f "pltclu_call_handler" _null_ _null_ "$libdir/pltcl" _null_)  )

◆ DATA() [4/8]

DATA ( insert("plperl" t t "plperl_call_handler" "plperl_inline_handler" "plperl_validator" "$libdir/plperl" _null_)  )

◆ DATA() [5/8]

DATA ( insert("plperlu" f f "plperlu_call_handler" "plperlu_inline_handler" "plperlu_validator" "$libdir/plperl" _null_)  )

◆ DATA() [6/8]

DATA ( insert("plpythonu" f f "plpython_call_handler" "plpython_inline_handler" "plpython_validator" "$libdir/plpython2" _null_)  )

◆ DATA() [7/8]

DATA ( insert("plpython2u" f f "plpython2_call_handler" "plpython2_inline_handler" "plpython2_validator" "$libdir/plpython2" _null_)  )

◆ DATA() [8/8]

DATA ( insert("plpython3u" f f "plpython3_call_handler" "plpython3_inline_handler" "plpython3_validator" "$libdir/plpython3" _null_)  )

Variable Documentation

◆ FormData_pg_pltemplate

FormData_pg_pltemplate

Definition at line 45 of file pg_pltemplate.h.