aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/enum.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-04-02 18:49:29 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-04-02 18:49:29 +0000
commit9a527f18488cb336b39ce86520dd25e438a59144 (patch)
treee66e796d059b0c9cef93709f893875ba742344af /src/backend/utils/adt/enum.c
parentcac01fc0380662a68264695b43870074d1257822 (diff)
downloadpostgresql-9a527f18488cb336b39ce86520dd25e438a59144.tar.gz
postgresql-9a527f18488cb336b39ce86520dd25e438a59144.zip
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.
Diffstat (limited to 'src/backend/utils/adt/enum.c')
0 files changed, 0 insertions, 0 deletions