]> granicus.if.org Git - postgresql/commit
SPI_cursor_open failed to enforce that only read-only queries could be
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 17 Mar 2007 03:15:55 +0000 (03:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 17 Mar 2007 03:15:55 +0000 (03:15 +0000)
commit6c156225954b18ae2827a759907343357508d54c
treeb9fe559acab72d549966bc53eba56e738ecc2a0c
parent5f41ad2ccfaf5befe70d6214c9d073ecf6459251
SPI_cursor_open failed to enforce that only read-only queries could be
executed in read_only mode.  This could lead to various relatively-subtle
failures, such as an allegedly stable function returning non-stable results.
Bug goes all the way back to the introduction of read-only mode in 8.0.
Per report from Gaetano Mendola.
src/backend/executor/spi.c