aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/copy.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-04-16 01:14:58 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-04-16 01:14:58 +0000
commit66888f7424f7d6c7cea2c26e181054d1455d4e7a (patch)
treed7224be67b7a912f5d65315afb1c121622373a0a /src/backend/commands/copy.c
parentfa92d21a486de868b21bbc03944649af3e1ac90f (diff)
downloadpostgresql-66888f7424f7d6c7cea2c26e181054d1455d4e7a.tar.gz
postgresql-66888f7424f7d6c7cea2c26e181054d1455d4e7a.zip
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/backend/commands/copy.c')
-rw-r--r--src/backend/commands/copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c
index 99d347f5907..42121f3fe45 100644
--- a/src/backend/commands/copy.c
+++ b/src/backend/commands/copy.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/commands/copy.c,v 1.279 2007/03/29 00:15:38 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/commands/copy.c,v 1.280 2007/04/16 01:14:55 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1023,7 +1023,7 @@ DoCopy(const CopyStmt *stmt, const char *queryString)
errmsg("COPY (SELECT INTO) is not supported")));
/* plan the query */
- plan = planner(query, false, 0, NULL);
+ plan = planner(query, 0, NULL);
/*
* Update snapshot command ID to ensure this query sees results of any