Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 17a814c

Browse files
committed
Mention 'void' as the proper return type when there's nothing to
return, per suggestion from Joachim Wieland.
1 parent 70ce5c9 commit 17a814c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/src/sgml/ref/create_function.sgml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/create_function.sgml,v 1.68 2006/09/16 00:30:17 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/create_function.sgml,v 1.69 2006/11/03 07:17:36 tgl Exp $
33
-->
44

55
<refentry id="SQL-CREATEFUNCTION">
@@ -153,6 +153,8 @@ CREATE [ OR REPLACE ] FUNCTION
153153
or may reference the type of a table column.
154154
Depending on the implementation language it may also be allowed
155155
to specify <quote>pseudotypes</> such as <type>cstring</>.
156+
If the function is not supposed to return a value, specify
157+
<type>void</> as the return type.
156158
</para>
157159
<para>
158160
When there are <literal>OUT</> or <literal>INOUT</> parameters,

0 commit comments

Comments
 (0)