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 1698bd2 commit a8603f0Copy full SHA for a8603f0
src/backend/access/transam/xlog.c
@@ -8446,6 +8446,7 @@ XLogReportParameters(void)
8446
{
8447
XLogRecData rdata;
8448
xl_parameter_change xlrec;
8449
+ XLogRecPtr recptr;
8450
8451
xlrec.MaxConnections = MaxConnections;
8452
xlrec.max_prepared_xacts = max_prepared_xacts;
@@ -8457,7 +8458,8 @@ XLogReportParameters(void)
8457
8458
rdata.len = sizeof(xlrec);
8459
rdata.next = NULL;
8460
- XLogInsert(RM_XLOG_ID, XLOG_PARAMETER_CHANGE, &rdata);
8461
+ recptr = XLogInsert(RM_XLOG_ID, XLOG_PARAMETER_CHANGE, &rdata);
8462
+ XLogFlush(recptr);
8463
}
8464
8465
ControlFile->MaxConnections = MaxConnections;
0 commit comments