aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/src/sgml/catalogs.sgml14
-rw-r--r--doc/src/sgml/ref/create_language.sgml34
2 files changed, 31 insertions, 17 deletions
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml
index 980c2155363..c3ed19e4b2a 100644
--- a/doc/src/sgml/catalogs.sgml
+++ b/doc/src/sgml/catalogs.sgml
@@ -1,6 +1,6 @@
<!--
Documentation of the system catalogs, directed toward PostgreSQL developers
- $Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.43 2002/04/21 00:26:42 tgl Exp $
+ $Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.44 2002/06/20 15:44:06 momjian Exp $
-->
<chapter id="catalogs">
@@ -1264,6 +1264,18 @@
</row>
<row>
+ <entry>lanvalidator</entry>
+ <entry><type>oid</type></entry>
+ <entry>pg_proc.oid</entry>
+ <entry>
+ This references a language validator function that is responsible
+ for checking the syntax and validity of new functions when they
+ are created. See under <command>CREATE LANGUAGE</command> for
+ further information about validators.
+ </entry>
+ </row>
+
+ <row>
<entry>lancompiler</entry>
<entry><type>text</type></entry>
<entry></entry>
diff --git a/doc/src/sgml/ref/create_language.sgml b/doc/src/sgml/ref/create_language.sgml
index 42d7c9b4877..1871da57e56 100644
--- a/doc/src/sgml/ref/create_language.sgml
+++ b/doc/src/sgml/ref/create_language.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_language.sgml,v 1.24 2002/05/22 17:20:58 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_language.sgml,v 1.25 2002/06/20 15:44:06 momjian Exp $
PostgreSQL documentation
-->
@@ -214,25 +214,27 @@ ERROR: PL handler function <replaceable class="parameter">funcname</replaceable
<screen>
Table "pg_language"
- Attribute | Type | Modifier
----------------+---------+----------
- lanname | name |
- lanispl | boolean |
- lanpltrusted | boolean |
- lanplcallfoid | oid |
- lancompiler | text |
-
- lanname | lanispl | lanpltrusted | lanplcallfoid | lancompiler
--------------+---------+--------------+---------------+-------------
- internal | f | f | 0 | n/a
- c | f | f | 0 | /bin/cc
- sql | f | t | 0 | postgres
+ Attribute | Type | Modifier
+---------------+-----------+----------
+ lanname | name |
+ lanispl | boolean |
+ lanpltrusted | boolean |
+ lanplcallfoid | oid |
+ lanvalidator | oid |
+ lancompiler | text |
+ lanacl | aclitem[] |
+
+ lanname | lanispl | lanpltrusted | lanplcallfoid | lanvalidator | lancompiler | lanacl
+-------------+---------+--------------+---------------+--------------+-------------+--------
+ internal | f | f | 0 | 2246 | n/a |
+ c | f | f | 0 | 2247 | /bin/cc |
+ sql | f | t | 0 | 2248 | postgres | {=U}
</screen>
</para>
<para>
- At present, the definition of a procedural language cannot be
- changed once it has been created.
+ At present, with the exception of the permissions, the definition
+ of a procedural language cannot be changed once it has been created.
</para>
<para>