summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/do.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/ref/do.sgml')
-rw-r--r--doc/src/sgml/ref/do.sgml8
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/do.sgml b/doc/src/sgml/ref/do.sgml
index 0a85144726..a85d598c6a 100644
--- a/doc/src/sgml/ref/do.sgml
+++ b/doc/src/sgml/ref/do.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/do.sgml,v 1.2 2009/09/23 15:41:51 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/do.sgml,v 1.3 2010/01/26 16:33:40 tgl Exp $
PostgreSQL documentation
-->
@@ -69,8 +69,7 @@ DO <replaceable class="PARAMETER">code</replaceable> [ LANGUAGE <replaceable cla
<listitem>
<para>
The name of the procedural language the code is written in.
- If omitted, the default is determined by the runtime parameter
- <xref linkend="guc-default-do-language">.
+ If omitted, the default is <literal>plpgsql</>.
</para>
</listitem>
</varlistentry>
@@ -83,6 +82,7 @@ DO <replaceable class="PARAMETER">code</replaceable> [ LANGUAGE <replaceable cla
<para>
The procedural language to be used must already have been installed
into the current database by means of <command>CREATE LANGUAGE</>.
+ <literal>plpgsql</> is installed by default, but other languages are not.
</para>
<para>
@@ -108,8 +108,6 @@ BEGIN
END LOOP;
END$$;
</programlisting>
- This example assumes that <varname>default_do_language</> has its
- default value, namely <literal>plpgsql</>.
</para>
</refsect1>
<refsect1>