From 4de23092d001f632709448aea28bf0e9cc49fe2b Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Fri, 20 May 2005 01:52:25 +0000 Subject: [PATCH] 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. --- doc/src/sgml/plperl.sgml | 6 ++++-- doc/src/sgml/plpython.sgml | 6 ++++-- doc/src/sgml/pltcl.sgml | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/doc/src/sgml/plperl.sgml b/doc/src/sgml/plperl.sgml index d00eeab856..0680c6106e 100644 --- a/doc/src/sgml/plperl.sgml +++ b/doc/src/sgml/plperl.sgml @@ -1,5 +1,5 @@ @@ -44,7 +44,9 @@ $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.39 2005/04/09 03:52:43 momjian E PL/Perl Functions and Arguments - 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 + + syntax: CREATE FUNCTION funcname (argument-types) RETURNS return-type AS $$ # PL/Perl function body diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml index 81b96f9a1a..c3f27e844b 100644 --- a/doc/src/sgml/plpython.sgml +++ b/doc/src/sgml/plpython.sgml @@ -1,4 +1,4 @@ - + PL/Python - Python Procedural Language @@ -46,7 +46,9 @@ PL/Python Functions - Functions in PL/Python are declared in the usual way, for example + Functions in PL/Python are declared via the usual + syntax. For example: 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 2a86fa7b62..f72351c193 100644 --- a/doc/src/sgml/pltcl.sgml +++ b/doc/src/sgml/pltcl.sgml @@ -1,5 +1,5 @@ @@ -75,7 +75,9 @@ $PostgreSQL: pgsql/doc/src/sgml/pltcl.sgml,v 2.37 2005/04/09 03:52:43 momjian Ex PL/Tcl Functions and Arguments - To create a function in the PL/Tcl language, use the standard syntax: + To create a function in the PL/Tcl language, use + the standard syntax: CREATE FUNCTION funcname (argument-types) RETURNS return-type AS $$ -- 2.11.0