aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-04-02 18:49:41 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-04-02 18:49:41 +0000
commit40d7f86074fc3419792229d7fda08a20703f2818 (patch)
tree8c7745e60ef7d510e8200858a782a999f7ec9115 /src/tutorial/funcs.c
parent368cc140d97037b57167ed21ff1438e2057020df (diff)
downloadpostgresql-40d7f86074fc3419792229d7fda08a20703f2818.tar.gz
postgresql-40d7f86074fc3419792229d7fda08a20703f2818.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/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions