walsender_typo_v1.patch

application/octet-stream

Filename: walsender_typo_v1.patch
Type: application/octet-stream
Part: 0
Message: Re: WAL format changes

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: context
Series: patch v1
File+
src/backend/replication/walsender.c 3 0
*** a/src/backend/replication/walsender.c
--- b/src/backend/replication/walsender.c
***************
*** 612,620 **** ProcessStandbyReplyMessage(void)
  	pq_copymsgbytes(&reply_message, (char *) &reply, sizeof(StandbyReplyMessage));
  
  	elog(DEBUG2, "write %X/%X flush %X/%X apply %X/%X",
! 		 (uint32) (reply.write << 32), (uint32) reply.write,
! 		 (uint32) (reply.flush << 32), (uint32) reply.flush,
! 		 (uint32) (reply.apply << 32), (uint32) reply.apply);
  
  	/*
  	 * Update shared state for this WalSender process based on reply data from
--- 612,620 ----
  	pq_copymsgbytes(&reply_message, (char *) &reply, sizeof(StandbyReplyMessage));
  
  	elog(DEBUG2, "write %X/%X flush %X/%X apply %X/%X",
! 		 (uint32) (reply.write >> 32), (uint32) reply.write,
! 		 (uint32) (reply.flush >> 32), (uint32) reply.flush,
! 		 (uint32) (reply.apply >> 32), (uint32) reply.apply);
  
  	/*
  	 * Update shared state for this WalSender process based on reply data from