]> granicus.if.org Git - postgresql/commit
When executing a list of queries derived from rule expansion,
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 14 Aug 2006 13:40:18 +0000 (13:40 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 14 Aug 2006 13:40:18 +0000 (13:40 +0000)
commit29fa051316115fd0b7e8f965c77d5e04a155dcd6
treec0b7950c5a5f1954a660e9722a9f472faf777011
parentc859294ca2eabf65c680fe311596388b36a5fcb8
When executing a list of queries derived from rule expansion,
_SPI_execute_plan's return code should reflect the type of the query
that is marked canSetTag, not necessarily the last one in the list.

This is arguably a bug fix, but I'm hesitant to back-patch it because
it's the sort of subtle change that might break someone's code, and it's
best not to do that kind of thing in point releases.
src/backend/executor/spi.c