Small fix for _copySetConstraintsStmt
От | Fernando Nasser |
---|---|
Тема | Small fix for _copySetConstraintsStmt |
Дата | |
Msg-id | 3C87623A.68258843@redhat.com обсуждение исходный текст |
Ответы |
Re: Small fix for _copySetConstraintsStmt
Re: Small fix for _copySetConstraintsStmt |
Список | pgsql-patches |
Field is a list of strings, not nodes. -- Fernando Nasser Red Hat Canada Ltd. E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9Index: src/backend/nodes/copyfuncs.c =================================================================== RCS file: /projects/cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v retrieving revision 1.166 diff -c -p -r1.166 copyfuncs.c *** src/backend/nodes/copyfuncs.c 2002/03/06 20:34:47 1.166 --- src/backend/nodes/copyfuncs.c 2002/03/07 12:49:58 *************** _copyConstraintsSetStmt(ConstraintsSetSt *** 2495,2501 **** { ConstraintsSetStmt *newnode = makeNode(ConstraintsSetStmt); ! Node_Copy(from, newnode, constraints); newnode->deferred = from->deferred; return newnode; --- 2495,2501 ---- { ConstraintsSetStmt *newnode = makeNode(ConstraintsSetStmt); ! newnode->constraints = listCopy(from->constraints); newnode->deferred = from->deferred; return newnode;
В списке pgsql-patches по дате отправления: