aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2021-10-25 09:49:46 -0400
committerRobert Haas <rhaas@postgresql.org>2021-10-25 10:02:36 -0400
commita75dbf7f9ee6ff0c0e2ab4b224b04fc50c4e6577 (patch)
tree04734fcd8828162f8f2fa11272c5a20c01be7330 /contrib/postgres_fdw/postgres_fdw.c
parent166f94377c886516ca986ef8a623cd2e854fe911 (diff)
downloadpostgresql-a75dbf7f9ee6ff0c0e2ab4b224b04fc50c4e6577.tar.gz
postgresql-a75dbf7f9ee6ff0c0e2ab4b224b04fc50c4e6577.zip
StartupXLOG: Call CleanupAfterArchiveRecovery after XLogReportParameters.
This does a better job grouping related operations together, since all of the WAL records that we need to write prior to allowing WAL writes generally and written by a single uninterrupted stretch of code. Since CleanupAfterArchiveRecovery() just (1) runs recovery_end_command, (2) removes non-parent xlog files, and (3) archives any final partial segment, this should be safe, because all of those things are pretty much unrelated to the WAL record written by XLogReportParameters(). Amul Sul, per a suggestion from me Discussion: http://postgr.es/m/CAAJ_b97fysj6sRSQEfOHj-y8Jfd5uPqOgO74qast89B4WfD+TA@mail.gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions