Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5c63982

Browse files
committed
Fix an uninitialized field in DR_copy.
Shigeru HANADA
1 parent 62c7bd3 commit 5c63982

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/commands/copy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3798,6 +3798,7 @@ CreateCopyDestReceiver(void)
37983798
self->pub.mydest = DestCopyOut;
37993799

38003800
self->cstate = NULL; /* will be set later */
3801+
self->processed = 0;
38013802

38023803
return (DestReceiver *) self;
38033804
}

0 commit comments

Comments
 (0)