mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
Fix an uninitialized field in DR_copy.
Shigeru HANADA
This commit is contained in:
@ -3798,6 +3798,7 @@ CreateCopyDestReceiver(void)
|
|||||||
self->pub.mydest = DestCopyOut;
|
self->pub.mydest = DestCopyOut;
|
||||||
|
|
||||||
self->cstate = NULL; /* will be set later */
|
self->cstate = NULL; /* will be set later */
|
||||||
|
self->processed = 0;
|
||||||
|
|
||||||
return (DestReceiver *) self;
|
return (DestReceiver *) self;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user