diff options
| author | Tom Lane | 2007-04-16 01:14:58 +0000 |
|---|---|---|
| committer | Tom Lane | 2007-04-16 01:14:58 +0000 |
| commit | 66888f7424f7d6c7cea2c26e181054d1455d4e7a (patch) | |
| tree | d7224be67b7a912f5d65315afb1c121622373a0a /src/include/optimizer | |
| parent | fa92d21a486de868b21bbc03944649af3e1ac90f (diff) | |
Expose more cursor-related functionality in SPI: specifically, allow
access to the planner's cursor-related planning options, and provide new
FETCH/MOVE routines that allow access to the full power of those commands.
Small refactoring of planner(), pg_plan_query(), and pg_plan_queries()
APIs to make it convenient to pass the planning options down from SPI.
This is the core-code portion of Pavel Stehule's patch for scrollable
cursor support in plpgsql; I'll review and apply the plpgsql changes
separately.
Diffstat (limited to 'src/include/optimizer')
| -rw-r--r-- | src/include/optimizer/planner.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/optimizer/planner.h b/src/include/optimizer/planner.h index c243cdbc356..b568a7dbe82 100644 --- a/src/include/optimizer/planner.h +++ b/src/include/optimizer/planner.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/optimizer/planner.h,v 1.38 2007/02/20 17:32:17 tgl Exp $ + * $PostgreSQL: pgsql/src/include/optimizer/planner.h,v 1.39 2007/04/16 01:14:58 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -18,7 +18,7 @@ #include "nodes/relation.h" -extern PlannedStmt *planner(Query *parse, bool isCursor, int cursorOptions, +extern PlannedStmt *planner(Query *parse, int cursorOptions, ParamListInfo boundParams); extern Plan *subquery_planner(PlannerGlobal *glob, Query *parse, Index level, double tuple_fraction, |
