fix for _copyUnique() - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject fix for _copyUnique()
Date
Msg-id 199904270959.SAA23781@srapc451.sra.co.jp
Whole thread Raw
List 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;
 



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] numeric data type on 6.5
Next
From: Chris Bitmead
Date:
Subject: Re: [HACKERS] It would be nice if this could be fixed...