fix for _copyUnique()

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: hackers(at)postgresql(dot)org
Subject: fix for _copyUnique()
Date: 1999-04-27 09:59:03
Message-ID: 199904270959.SAA23781@srapc451.sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have commited a fix for _copyUnique(nodes/copyfuncs.c) suggested by
Hiroshi Inoue. It seems obvious for me and passed regression tests.
--
Tatsuo Ishii

*** backend/nodes/copyfuncs.c.orig Mon Apr 19 16:00:40 1999
--- backend/nodes/copyfuncs.c Mon Apr 26 13:34:26 1999
***************
*** 514,520 ****
* copy remainder of node
* ----------------
*/
! if (newnode->uniqueAttr)
newnode->uniqueAttr = pstrdup(from->uniqueAttr);
else
newnode->uniqueAttr = NULL;
--- 514,520 ----
* copy remainder of node
* ----------------
*/
! if (from->uniqueAttr)
newnode->uniqueAttr = pstrdup(from->uniqueAttr);
else
newnode->uniqueAttr = NULL;

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1999-04-27 10:05:49 Re: [HACKERS] numeric data type on 6.5
Previous Message Peter Mount 1999-04-27 09:52:06 RE: [INTERFACES] JDBC and waiting for commit on a locked table in 6.4.2