Skip to content
Snippets Groups Projects
Commit 9a527f18 authored by Tom Lane's avatar Tom Lane
Browse files

Fix check_sql_fn_retval to allow the case where a SQL function declared to

return void ends with a SELECT, if that SELECT has a single result that is
also of type void.  Without this, it's hard to write a void function that
calls another void function.  Per gripe from Peter.

Back-patch as far as 8.0.
parent cac01fc0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment