Small fix for _copySetConstraintsStmt

Поиск
Список
Период
Сортировка
От Fernando Nasser
Тема Small fix for _copySetConstraintsStmt
Дата
Msg-id 3C87623A.68258843@redhat.com
обсуждение исходный текст
Ответы Re: Small fix for _copySetConstraintsStmt  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Small fix for _copySetConstraintsStmt  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Fernando Nasser
Дата:
Сообщение: Small fix for _equalValue()
Следующее
От: Fernando Nasser
Дата:
Сообщение: Re: Small fix for _equalValue()