mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
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.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.531 2007/04/16 01:14:57 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.532 2007/04/16 18:21:07 tgl Exp $
|
||||
*
|
||||
* NOTES
|
||||
* this is the "main" module of the postgres backend and
|
||||
@ -1237,6 +1237,7 @@ exec_parse_message(const char *query_string, /* string to execute */
|
||||
commandTag,
|
||||
paramTypes,
|
||||
numParams,
|
||||
0, /* default cursor options */
|
||||
stmt_list,
|
||||
false);
|
||||
}
|
||||
@ -1261,6 +1262,7 @@ exec_parse_message(const char *query_string, /* string to execute */
|
||||
commandTag,
|
||||
newParamTypes,
|
||||
numParams,
|
||||
0, /* cursor options */
|
||||
stmt_list,
|
||||
fully_planned,
|
||||
true,
|
||||
|
Reference in New Issue
Block a user