Fix SPI cursor support to allow scanning the results of utility commands
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 10 Feb 2005 20:36:28 +0000 (20:36 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 10 Feb 2005 20:36:28 +0000 (20:36 +0000)
commit42599b322db75b1cfdf4ab518532ddffd15066ac
tree5835e341265b3493ba2d72ab57655922bfac3b8d
parent5cc8884a5d9f1d238a2098ebe6024f5d748c1f25
Fix SPI cursor support to allow scanning the results of utility commands
that return tuples (such as EXPLAIN).  Per gripe from Michael Fuhr.
Side effect: fix an old bug that unintentionally disabled backward scans
for all SPI-created cursors.
src/backend/executor/spi.c
src/backend/tcop/pquery.c