]> granicus.if.org Git - postgresql/commit
Refactor SPI_cursor_open/SPI_cursor_open_with_args so that the latter sets
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 Jun 2008 17:32:48 +0000 (17:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 Jun 2008 17:32:48 +0000 (17:32 +0000)
commit6a9fffcd0d8587a0f6e7d073c5fb632623fd3956
tree30ecbb0f3563076bbefb5576689505502e06d834
parent6d19e9ffad0ff7cc739e0e2f63241777e8610635
Refactor SPI_cursor_open/SPI_cursor_open_with_args so that the latter sets
the PARAM_FLAG_CONST flag on the parameters that are passed into the portal,
while the former's behavior is unchanged.  This should only affect the case
where the portal is executing an EXPLAIN; it will cause the generated plan to
look more like what would be generated if the portal were actually executing
the command being explained.  Per gripe from Pavel.
src/backend/executor/spi.c