Mention 'void' as the proper return type when there's nothing to
authorTom Lane
Fri, 3 Nov 2006 07:17:36 +0000 (07:17 +0000)
committerTom Lane
Fri, 3 Nov 2006 07:17:36 +0000 (07:17 +0000)
return, per suggestion from Joachim Wieland.

doc/src/sgml/ref/create_function.sgml

index aa313be15a7e918707417c1c67e443d328cf8331..4b85072aaee1fa256be8850040544bf6bb549936 100644 (file)
@@ -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,