aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-04-02 18:49:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-04-02 18:49:49 +0000
commit47d61a572ff1c03241776b99d979e28affe7aa2a (patch)
tree26fecf45e315c5acf7e2be54ff6a27bf2d35ce91 /src/backend/access/gist/gistget.c
parent51fb9106e05e083f013ac4688e5ceb59ff9c000c (diff)
downloadpostgresql-47d61a572ff1c03241776b99d979e28affe7aa2a.tar.gz
postgresql-47d61a572ff1c03241776b99d979e28affe7aa2a.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/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions