From: Tom Lane Date: Fri, 3 Nov 2006 07:17:36 +0000 (+0000) Subject: Mention 'void' as the proper return type when there's nothing to X-Git-Tag: REL8_2_BETA3~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17a814ca02e59a148bfbb61850a7b1a6eb0d4566;p=thirdparty%2Fpostgresql.git Mention 'void' as the proper return type when there's nothing to return, per suggestion from Joachim Wieland. --- 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 @@ @@ -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 pseudotypes such as cstring. + If the function is not supposed to return a value, specify + void as the return type. When there are OUT or INOUT parameters,