Skip to content

Commit ef9db25

Browse files
committed
Fix typo in _copyAlterUserSetStmt.
1 parent c5741a4 commit ef9db25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/nodes/copyfuncs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* Portions Copyright (c) 1994, Regents of the University of California
1616
*
1717
* IDENTIFICATION
18-
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.184 2002/05/12 23:43:02 tgl Exp $
18+
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.185 2002/05/13 20:39:43 tgl Exp $
1919
*
2020
*-------------------------------------------------------------------------
2121
*/
@@ -2468,7 +2468,7 @@ _copyAlterUserSetStmt(AlterUserSetStmt *from)
24682468
if (from->user)
24692469
newnode->user = pstrdup(from->user);
24702470
if (from->variable)
2471-
newnode->user = pstrdup(from->variable);
2471+
newnode->variable = pstrdup(from->variable);
24722472
Node_Copy(from, newnode, value);
24732473

24742474
return newnode;

0 commit comments

Comments
 (0)