summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Conway2005-05-20 01:52:25 +0000
committerNeil Conway2005-05-20 01:52:25 +0000
commit4de23092d001f632709448aea28bf0e9cc49fe2b (patch)
treeeb217e53d5a421e465eb0dd5b40543ea1f3260d5
parentee85870e2330c6ba23197182a2c507c0de74026c (diff)
Add some links to the CREATE FUNCTION reference page when describing
function definition for particular PLs. Original patch from David Fetter, editorializing by Neil Conway.
-rw-r--r--doc/src/sgml/plperl.sgml6
-rw-r--r--doc/src/sgml/plpython.sgml6
-rw-r--r--doc/src/sgml/pltcl.sgml6
3 files changed, 12 insertions, 6 deletions
diff --git a/doc/src/sgml/plperl.sgml b/doc/src/sgml/plperl.sgml
index d00eeab856e..0680c6106e8 100644
--- a/doc/src/sgml/plperl.sgml
+++ b/doc/src/sgml/plperl.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.39 2005/04/09 03:52:43 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.40 2005/05/20 01:52:24 neilc Exp $
-->
<chapter id="plperl">
@@ -44,7 +44,9 @@ $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.39 2005/04/09 03:52:43 momjian E
<title>PL/Perl Functions and Arguments</title>
<para>
- To create a function in the PL/Perl language, use the standard syntax:
+ To create a function in the PL/Perl language, use the standard
+ <xref linkend="sql-createfunction" endterm="sql-createfunction-title">
+ syntax:
<programlisting>
CREATE FUNCTION <replaceable>funcname</replaceable> (<replaceable>argument-types</replaceable>) RETURNS <replaceable>return-type</replaceable> AS $$
# PL/Perl function body
diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml
index 81b96f9a1ad..c3f27e844bf 100644
--- a/doc/src/sgml/plpython.sgml
+++ b/doc/src/sgml/plpython.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.28 2005/04/09 03:52:43 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.29 2005/05/20 01:52:25 neilc Exp $ -->
<chapter id="plpython">
<title>PL/Python - Python Procedural Language</title>
@@ -46,7 +46,9 @@
<title>PL/Python Functions</title>
<para>
- Functions in PL/Python are declared in the usual way, for example
+ Functions in PL/Python are declared via the usual <xref
+ linkend="sql-createfunction" endterm="sql-createfunction-title">
+ syntax. For example:
<programlisting>
CREATE FUNCTION myfunc(text) RETURNS text
AS 'return args[0]'
diff --git a/doc/src/sgml/pltcl.sgml b/doc/src/sgml/pltcl.sgml
index 2a86fa7b621..f72351c193f 100644
--- a/doc/src/sgml/pltcl.sgml
+++ b/doc/src/sgml/pltcl.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/pltcl.sgml,v 2.37 2005/04/09 03:52:43 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/pltcl.sgml,v 2.38 2005/05/20 01:52:25 neilc Exp $
-->
<chapter id="pltcl">
@@ -75,7 +75,9 @@ $PostgreSQL: pgsql/doc/src/sgml/pltcl.sgml,v 2.37 2005/04/09 03:52:43 momjian Ex
<title>PL/Tcl Functions and Arguments</title>
<para>
- To create a function in the <application>PL/Tcl</> language, use the standard syntax:
+ To create a function in the <application>PL/Tcl</> language, use
+ the standard <xref linkend="sql-createfunction"
+ endterm="sql-createfunction-title"> syntax:
<programlisting>
CREATE FUNCTION <replaceable>funcname</replaceable> (<replaceable>argument-types</replaceable>) RETURNS <replaceable>return-type</replaceable> AS $$