Make plancache store cursor options so it can pass them to planner during
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 16 Apr 2007 18:21:07 +0000 (18:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 16 Apr 2007 18:21:07 +0000 (18:21 +0000)
commit42dc4b66e61cde4beb466561f12fd490b6621ee3
tree146638f3bd5eee533041e4f534b1a612a2dc7a13
parentf01b1965971ddd3345d3e44e00d0d735a49b75d1
Make plancache store cursor options so it can pass them to planner during
a replan.  I had originally thought this was not necessary, but the new
SPI facilities create a path whereby queries planned with non-default
options can get into the cache, so it is necessary.
src/backend/commands/prepare.c
src/backend/executor/spi.c
src/backend/tcop/postgres.c
src/backend/utils/cache/plancache.c
src/include/commands/prepare.h
src/include/utils/plancache.h