projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7bb58f
)
Mention 'void' as the proper return type when there's nothing to
author
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 3 Nov 2006 07:17:36 +0000
(07:17 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 3 Nov 2006 07:17:36 +0000
(07:17 +0000)
return, per suggestion from Joachim Wieland.
doc/src/sgml/ref/create_function.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/ref/create_function.sgml
b/doc/src/sgml/ref/create_function.sgml
index 429084b3a0d9808e452892e392f1daab9114db0f..9c95054b54c49ed30cede6dce120e2e1c1cdddec 100644
(file)
--- a/
doc/src/sgml/ref/create_function.sgml
+++ b/
doc/src/sgml/ref/create_function.sgml
@@
-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,