OSDN Git Service

SPI_exec shouldn't return SPI_OK_SELECT if it hasn't actually returned
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Jan 2003 15:24:46 +0000 (15:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Jan 2003 15:24:46 +0000 (15:24 +0000)
commit26f56131aed776a9a14fe9866895e05d51e23003
tree8ec219cc9fa6a96659c5f9f092c92604ad2ab548
parent6976205b4bc665146216c04f1eca573b7169bb29
SPI_exec shouldn't return SPI_OK_SELECT if it hasn't actually returned
a tuple table.  Fixes core dump in pltcl (and probably other PLs) when
executing a query rewritten by a rule.  Per bug report from Wolfgang Walter.
src/backend/executor/spi.c