|
|
|
@ -8904,6 +8904,7 @@ XLogReportParameters(void) |
|
|
|
{ |
|
|
|
{ |
|
|
|
XLogRecData rdata; |
|
|
|
XLogRecData rdata; |
|
|
|
xl_parameter_change xlrec; |
|
|
|
xl_parameter_change xlrec; |
|
|
|
|
|
|
|
XLogRecPtr recptr; |
|
|
|
|
|
|
|
|
|
|
|
xlrec.MaxConnections = MaxConnections; |
|
|
|
xlrec.MaxConnections = MaxConnections; |
|
|
|
xlrec.max_worker_processes = max_worker_processes; |
|
|
|
xlrec.max_worker_processes = max_worker_processes; |
|
|
|
@ -8917,7 +8918,8 @@ XLogReportParameters(void) |
|
|
|
rdata.len = sizeof(xlrec); |
|
|
|
rdata.len = sizeof(xlrec); |
|
|
|
rdata.next = NULL; |
|
|
|
rdata.next = NULL; |
|
|
|
|
|
|
|
|
|
|
|
XLogInsert(RM_XLOG_ID, XLOG_PARAMETER_CHANGE, &rdata); |
|
|
|
recptr = XLogInsert(RM_XLOG_ID, XLOG_PARAMETER_CHANGE, &rdata); |
|
|
|
|
|
|
|
XLogFlush(recptr); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
ControlFile->MaxConnections = MaxConnections; |
|
|
|
ControlFile->MaxConnections = MaxConnections; |
|
|
|
|