summaryrefslogtreecommitdiff
path: root/src/include/tcop
diff options
context:
space:
mode:
authorTom Lane2006-08-30 23:34:22 +0000
committerTom Lane2006-08-30 23:34:22 +0000
commit85188ab8838bf19cdf12298e1b6c29e12f9b9a3c (patch)
tree285f4ee5fe8c623b8eea4caa5a664aeffd3fe96a /src/include/tcop
parent0d5065781dd1486d57357c49384a034b45bb027a (diff)
Extend COPY to support COPY (SELECT ...) TO ...
Bernd Helmle
Diffstat (limited to 'src/include/tcop')
-rw-r--r--src/include/tcop/dest.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/tcop/dest.h b/src/include/tcop/dest.h
index 0e0c640d2ac..0903f229ddc 100644
--- a/src/include/tcop/dest.h
+++ b/src/include/tcop/dest.h
@@ -54,7 +54,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/tcop/dest.h,v 1.51 2006/08/12 02:52:06 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/tcop/dest.h,v 1.52 2006/08/30 23:34:22 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -85,7 +85,8 @@ typedef enum
DestRemoteExecute, /* sent to frontend, in Execute command */
DestSPI, /* results sent to SPI manager */
DestTuplestore, /* results sent to Tuplestore */
- DestIntoRel /* results sent to relation (SELECT INTO) */
+ DestIntoRel, /* results sent to relation (SELECT INTO) */
+ DestCopyOut /* results sent to COPY TO code */
} CommandDest;
/* ----------------