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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy