aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/create_function.sgml
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-11-03 07:17:36 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-11-03 07:17:36 +0000
commit17a814ca02e59a148bfbb61850a7b1a6eb0d4566 (patch)
treecac94811aa90b06cb6c9169804f30f99f9af52d3 /doc/src/sgml/ref/create_function.sgml
parent70ce5c908202ada7616f7afded8a91bbf2742471 (diff)
downloadpostgresql-17a814ca02e59a148bfbb61850a7b1a6eb0d4566.tar.gz
postgresql-17a814ca02e59a148bfbb61850a7b1a6eb0d4566.zip
Mention 'void' as the proper return type when there's nothing to
return, per suggestion from Joachim Wieland.
Diffstat (limited to 'doc/src/sgml/ref/create_function.sgml')
-rw-r--r--doc/src/sgml/ref/create_function.sgml4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml
index aa313be15a7..4b85072aaee 100644
--- a/doc/src/sgml/ref/create_function.sgml
+++ b/doc/src/sgml/ref/create_function.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/create_function.sgml,v 1.68 2006/09/16 00:30:17 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/create_function.sgml,v 1.69 2006/11/03 07:17:36 tgl Exp $
-->
<refentry id="SQL-CREATEFUNCTION">
@@ -153,6 +153,8 @@ CREATE [ OR REPLACE ] FUNCTION
or may reference the type of a table column.
Depending on the implementation language it may also be allowed
to specify <quote>pseudotypes</> such as <type>cstring</>.
+ If the function is not supposed to return a value, specify
+ <type>void</> as the return type.
</para>
<para>
When there are <literal>OUT</> or <literal>INOUT</> parameters,