From 2912fd45d1f143cf00b8ac5d4c93d5e4ebf2b51e Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Thu, 20 Jun 2002 15:44:06 +0000 Subject: [PATCH] This patch updates the CREATE LANGUAGE & pg_language docs for the 7.3 table structure. Dave Page --- doc/src/sgml/catalogs.sgml | 14 ++++++++++- doc/src/sgml/ref/create_language.sgml | 34 ++++++++++++++------------- 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"> @@ -1263,6 +1263,18 @@ </entry> </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> 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> -- GitLab