]> granicus.if.org Git - postgresql/commit
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:49 +0000 (20:36 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 10 Feb 2005 20:36:49 +0000 (20:36 +0000)
commit9843862b50b3ce3c56d10116df782167e6da016e
treea63f273fd9d8d37a65b7cf6dc74e1edca48de1a2
parent95b40b7f7736fba60a34dc143bea3f86ea0cf8e4
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