]> begriffs open source - ai-pg/blob - full-docs/txt/catalog-pg-language.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / catalog-pg-language.txt
1
2 52.29. pg_language #
3
4    The catalog pg_language registers languages in which you can write
5    functions or stored procedures. See CREATE LANGUAGE and Chapter 40 for
6    more information about language handlers.
7
8    Table 52.29. pg_language Columns
9
10    Column Type
11
12    Description
13
14    oid oid
15
16    Row identifier
17
18    lanname name
19
20    Name of the language
21
22    lanowner oid (references pg_authid.oid)
23
24    Owner of the language
25
26    lanispl bool
27
28    This is false for internal languages (such as SQL) and true for
29    user-defined languages. Currently, pg_dump still uses this to determine
30    which languages need to be dumped, but this might be replaced by a
31    different mechanism in the future.
32
33    lanpltrusted bool
34
35    True if this is a trusted language, which means that it is believed not
36    to grant access to anything outside the normal SQL execution
37    environment. Only superusers can create functions in untrusted
38    languages.
39
40    lanplcallfoid oid (references pg_proc.oid)
41
42    For noninternal languages this references the language handler, which
43    is a special function that is responsible for executing all functions
44    that are written in the particular language. Zero for internal
45    languages.
46
47    laninline oid (references pg_proc.oid)
48
49    This references a function that is responsible for executing “inline”
50    anonymous code blocks (DO blocks). Zero if inline blocks are not
51    supported.
52
53    lanvalidator oid (references pg_proc.oid)
54
55    This references a language validator function that is responsible for
56    checking the syntax and validity of new functions when they are
57    created. Zero if no validator is provided.
58
59    lanacl aclitem[]
60
61    Access privileges; see Section 5.8 for details