OSDN Git Service

Fix things so that you can still do "select foo()" where foo is a SQL
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 11 Jun 2009 17:25:39 +0000 (17:25 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 11 Jun 2009 17:25:39 +0000 (17:25 +0000)
commit0c19f05803523eda14d0b5bc78bf82893fb64167
treefea3e437e787ee8c7e518d725062d83e71cd6c1b
parent772a074d4a89153231467cccd2e49400bbde9f6c
Fix things so that you can still do "select foo()" where foo is a SQL
function returning setof record.  This used to work, more or less
accidentally, but I had broken it while extending the code to allow
materialize-mode functions to be called in select lists.  Add a regression
test case so it doesn't get broken again.  Per gripe from Greg Davidson.
src/backend/executor/execQual.c
src/backend/executor/functions.c
src/test/regress/expected/rangefuncs.out
src/test/regress/sql/rangefuncs.sql