diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-02 18:49:36 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-02 18:49:36 +0000 |
commit | 3ac7d76096e31f06b8c485a3d03323071ac4bab2 (patch) | |
tree | dfca7f5db40de612343d0d7f6eac8af7d5149ee8 /src/backend/executor/nodeAppend.c | |
parent | 100beb0deac509c8ab8086b72e1ccd0304fb9dd4 (diff) | |
download | postgresql-3ac7d76096e31f06b8c485a3d03323071ac4bab2.tar.gz postgresql-3ac7d76096e31f06b8c485a3d03323071ac4bab2.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/executor/nodeAppend.c')
0 files changed, 0 insertions, 0 deletions