It is not obvious that a function should be declared "RETURNS VOID" if it
is not supposed to return a value.
There's also a user-comment on the 8.1 doc-page.
Joachim
Re: Micro-doc patch for CREATE FUNCTION
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Joachim Wieland" writes:
> It is not obvious that a function should be declared "RETURNS VOID" if it
> is not supposed to return a value.
Done, thanks.
regards, tom lane