diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-02 18:49:41 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-02 18:49:41 +0000 |
commit | 40d7f86074fc3419792229d7fda08a20703f2818 (patch) | |
tree | 8c7745e60ef7d510e8200858a782a999f7ec9115 /src/tutorial/funcs.c | |
parent | 368cc140d97037b57167ed21ff1438e2057020df (diff) | |
download | postgresql-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