aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/installation.sgml11
-rw-r--r--doc/src/sgml/pltcl.sgml31
2 files changed, 15 insertions, 27 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index aaf2c0e4c02..4bb0fcca3ff 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -1,4 +1,4 @@
-<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.61 2001/10/09 22:32:32 petere Exp $ -->
+<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.62 2001/10/13 04:23:50 momjian Exp $ -->
<chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -684,15 +684,6 @@ su - postgres
</varlistentry>
<varlistentry>
- <term><option>--enable-pltcl-unknown</option></term>
- <listitem>
- <para>
- Enables enables PL/Tcl unknown support.
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term><option>--enable-odbc</option></term>
<listitem>
<para>
diff --git a/doc/src/sgml/pltcl.sgml b/doc/src/sgml/pltcl.sgml
index 0c2e541e3fa..4f3f42a0274 100644
--- a/doc/src/sgml/pltcl.sgml
+++ b/doc/src/sgml/pltcl.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/pltcl.sgml,v 2.14 2001/09/13 15:55:23 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/pltcl.sgml,v 2.15 2001/10/13 04:23:50 momjian Exp $
-->
<chapter id="pltcl">
@@ -513,11 +513,13 @@ CREATE FUNCTION t1_count(int4, int4) RETURNS int4 AS '
</listitem>
</varlistentry>
- <varlistentry>
- <term>
- Modules and the <function>unknown</> command
- </term>
- <listitem>
+
+ </variablelist>
+
+ </sect2>
+
+ <sect2>
+ <title> Modules and the <function>unknown</> command</title>
<para>
PL/Tcl has a special support for things often used. It
recognizes two magic tables, <literal>pltcl_modules</> and
@@ -526,20 +528,15 @@ CREATE FUNCTION t1_count(int4, int4) RETURNS int4 AS '
creation. Whenever an unknown Tcl procedure is called, the
unknown proc is asked to check if the procedure is defined in
one of the modules. If this is true, the module is loaded on
- demand. To enable this behavior, the
- <productname>PostgreSQL</> must be configured with the option
- <option>--enable-pltcl-unknown</option>.
+ demand.
</para>
<para>
- There are support scripts to maintain these tables in the modules
- subdirectory of the PL/Tcl source including the source for the
- unknown module that must get installed initially.
+ There are support scripts to maintain these tables:
+ <command>pltcl_loadmod</>,<command>pltcl_listmod</>,
+ <command>pltcl_delmod</> and source for the
+ unknown module <filename>share/unknown.pltcl</> that must be loaded
+ into database initially for getting unknown support.
</para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
</sect2>
</sect1>