Thanks to visit codestin.com Credit goes to github.com
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 a2e3df7 commit b12f994Copy full SHA for b12f994
src/backend/access/transam/xlog.c
@@ -7821,6 +7821,7 @@ XLogReportParameters(void)
7821
{
7822
XLogRecData rdata;
7823
xl_parameter_change xlrec;
7824
+ XLogRecPtr recptr;
7825
7826
xlrec.MaxConnections = MaxConnections;
7827
xlrec.max_prepared_xacts = max_prepared_xacts;
@@ -7832,7 +7833,8 @@ XLogReportParameters(void)
7832
7833
rdata.len = sizeof(xlrec);
7834
rdata.next = NULL;
7835
- XLogInsert(RM_XLOG_ID, XLOG_PARAMETER_CHANGE, &rdata);
7836
+ recptr = XLogInsert(RM_XLOG_ID, XLOG_PARAMETER_CHANGE, &rdata);
7837
+ XLogFlush(recptr);
7838
}
7839
7840
ControlFile->MaxConnections = MaxConnections;
0 commit comments