Skip to content
Snippets Groups Projects
Commit 17a814ca authored by Tom Lane's avatar Tom Lane
Browse files

Mention 'void' as the proper return type when there's nothing to

return, per suggestion from Joachim Wieland.
parent 70ce5c90
No related branches found
No related tags found
No related merge requests found
<!--
$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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment