20110218_initialize_processed.patch

application/octet-stream

Filename: 20110218_initialize_processed.patch
Type: application/octet-stream
Part: 0
Message: Re: CommitFest 2011-01 as of 2011-02-04

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
src/backend/commands/copy.c 1 0
diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c
index 9f7263d..2c06d80 100644
--- a/src/backend/commands/copy.c
+++ b/src/backend/commands/copy.c
@@ -3798,6 +3798,7 @@ CreateCopyDestReceiver(void)
 	self->pub.mydest = DestCopyOut;
 
 	self->cstate = NULL;		/* will be set later */
+	self->processed = 0;
 
 	return (DestReceiver *) self;
 }