Fix typo in _copyAlterUserSetStmt.
authorTom Lane
Mon, 13 May 2002 20:39:43 +0000 (20:39 +0000)
committerTom Lane
Mon, 13 May 2002 20:39:43 +0000 (20:39 +0000)
src/backend/nodes/copyfuncs.c

index 3801d409cf156f21e39554caf66101af70ec8689..a3751d36984a3ede41e0e8cc625c4cb6c5b00c7e 100644 (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.184 2002/05/12 23:43:02 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.185 2002/05/13 20:39:43 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -2468,7 +2468,7 @@ _copyAlterUserSetStmt(AlterUserSetStmt *from)
    if (from->user)
        newnode->user = pstrdup(from->user);
    if (from->variable)
-       newnode->user = pstrdup(from->variable);
+       newnode->variable = pstrdup(from->variable);
    Node_Copy(from, newnode, value);
 
    return newnode;