1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

Clean up leftover bugs from recent COPY feature patch --- missed

required changes to copyfuncs/equalfuncs.
This commit is contained in:
Tom Lane
2002-08-19 00:40:15 +00:00
parent 5f6a27f8f9
commit f4ad5e8d18
4 changed files with 9 additions and 6 deletions

View File

@ -15,7 +15,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.202 2002/08/19 00:11:53 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.203 2002/08/19 00:40:14 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -2016,6 +2016,7 @@ _copyCopyStmt(CopyStmt *from)
CopyStmt *newnode = makeNode(CopyStmt);
Node_Copy(from, newnode, relation);
Node_Copy(from, newnode, attlist);
newnode->is_from = from->is_from;
if (from->filename)
newnode->filename = pstrdup(from->filename);