diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-16 18:21:07 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-16 18:21:07 +0000 |
| commit | 42dc4b66e61cde4beb466561f12fd490b6621ee3 (patch) | |
| tree | 146638f3bd5eee533041e4f534b1a612a2dc7a13 /src/include/commands/prepare.h | |
| parent | f01b1965971ddd3345d3e44e00d0d735a49b75d1 (diff) | |
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.
Diffstat (limited to 'src/include/commands/prepare.h')
| -rw-r--r-- | src/include/commands/prepare.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/commands/prepare.h b/src/include/commands/prepare.h index c12d248971e..4fa215ecf2d 100644 --- a/src/include/commands/prepare.h +++ b/src/include/commands/prepare.h @@ -6,7 +6,7 @@ * * Copyright (c) 2002-2007, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/include/commands/prepare.h,v 1.26 2007/04/12 06:53:48 neilc Exp $ + * $PostgreSQL: pgsql/src/include/commands/prepare.h,v 1.27 2007/04/16 18:21:07 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -51,6 +51,7 @@ extern void StorePreparedStatement(const char *stmt_name, const char *commandTag, Oid *param_types, int num_params, + int cursor_options, List *stmt_list, bool from_sql); extern PreparedStatement *FetchPreparedStatement(const char *stmt_name, |
