bugfix_v1.patch

application/octet-stream

Filename: bugfix_v1.patch
Type: application/octet-stream
Part: 0
Message: Re: [COMMITTERS] pgsql: Make walsender more responsive.

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/access/transam/xlog.c 4 0
*** a/src/backend/access/transam/xlog.c
--- b/src/backend/access/transam/xlog.c
***************
*** 1867,1876 **** XLogWrite(XLogwrtRqst WriteRqst, bool flexible, bool xlog_switch)
  			}
  
  			issue_xlog_fsync(openLogFile, openLogSegNo);
- 
- 			/* signal that we need to wakeup walsenders later */
- 			WalSndWakeupRequest();
  		}
  		LogwrtResult.Flush = LogwrtResult.Write;
  	}
  
--- 1867,1877 ----
  			}
  
  			issue_xlog_fsync(openLogFile, openLogSegNo);
  		}
+ 
+ 		/* signal that we need to wakeup walsenders later */
+ 		WalSndWakeupRequest();
+ 
  		LogwrtResult.Flush = LogwrtResult.Write;
  	}