summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/create_function.sgml
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-03-26 18:32:30 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-03-26 18:32:30 +0000
commit4579e68db24e56141e0ed179f23a6021c6d304d3 (patch)
treed91011e7c8727f0f061d0d69a0e5dc8214c77e41 /doc/src/sgml/ref/create_function.sgml
parent3871b69ba1d5d795bbd0d479e982546c1e4c375f (diff)
Updated user's guide to match new psql's output format
Fixed bug in createdb/alternative location
Diffstat (limited to 'doc/src/sgml/ref/create_function.sgml')
-rw-r--r--doc/src/sgml/ref/create_function.sgml16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml
index 3fb87b57f83..3333171319b 100644
--- a/doc/src/sgml/ref/create_function.sgml
+++ b/doc/src/sgml/ref/create_function.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.11 1999/10/02 21:27:49 tgl Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.12 2000/03/26 18:32:27 petere Exp $
Postgres documentation
-->
@@ -242,18 +242,18 @@ CREATE
<para>
To create a simple SQL function:
- <programlisting>
+<programlisting>
CREATE FUNCTION one() RETURNS int4
AS 'SELECT 1 AS RESULT'
LANGUAGE 'sql';
SELECT one() AS answer;
- <computeroutput>
- answer
- ------
- 1
- </computeroutput>
- </programlisting>
+<computeroutput>
+ answer
+--------
+ 1
+</computeroutput>
+</programlisting>
</para>
<para>