We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4859a71 commit 0af5fd8Copy full SHA for 0af5fd8
src/backend/access/transam/xlog.c
@@ -7955,6 +7955,7 @@ XLogReportParameters(void)
7955
{
7956
XLogRecData rdata;
7957
xl_parameter_change xlrec;
7958
+ XLogRecPtr recptr;
7959
7960
xlrec.MaxConnections = MaxConnections;
7961
xlrec.max_prepared_xacts = max_prepared_xacts;
@@ -7966,7 +7967,8 @@ XLogReportParameters(void)
7966
7967
rdata.len = sizeof(xlrec);
7968
rdata.next = NULL;
7969
- XLogInsert(RM_XLOG_ID, XLOG_PARAMETER_CHANGE, &rdata);
7970
+ recptr = XLogInsert(RM_XLOG_ID, XLOG_PARAMETER_CHANGE, &rdata);
7971
+ XLogFlush(recptr);
7972
}
7973
7974
ControlFile->MaxConnections = MaxConnections;
0 commit comments