summaryrefslogtreecommitdiff
path: root/src/include/rewrite/rewriteHandler.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-07-18 04:43:51 +0000
committerBruce Momjian <bruce@momjian.us>2002-07-18 04:43:51 +0000
commita90db34b542d9f31582627a0bfa43901811b84b2 (patch)
treee0ac399fd5a3caddd24ac8c82d24a37deee4305a /src/include/rewrite/rewriteHandler.h
parentfc5372e09930766f3559555e19262b4b861f3646 (diff)
The attached patch (against HEAD) implements
COPY x (a,d,c,b) from stdin; COPY x (a,c) to stdout; as well as the corresponding changes to pg_dump to use the new functionality. This functionality is not available when using the BINARY option. If a column is not specified in the COPY FROM statement, its default values will be used. In addition to this functionality, I tweaked a couple of the error messages emitted by the new COPY <options> checks. Brent Verner
Diffstat (limited to 'src/include/rewrite/rewriteHandler.h')
-rw-r--r--src/include/rewrite/rewriteHandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/rewrite/rewriteHandler.h b/src/include/rewrite/rewriteHandler.h
index 900ffca658f..69fecc8142d 100644
--- a/src/include/rewrite/rewriteHandler.h
+++ b/src/include/rewrite/rewriteHandler.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: rewriteHandler.h,v 1.19 2002/06/20 20:29:52 momjian Exp $
+ * $Id: rewriteHandler.h,v 1.20 2002/07/18 04:43:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -16,7 +16,7 @@
#include "nodes/parsenodes.h"
-
extern List *QueryRewrite(Query *parsetree);
+extern Node *build_column_default(Relation rel, int attrno);
#endif /* REWRITEHANDLER_H */