aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/commit_ts/sql/commit_timestamp.sql
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2021-10-13 12:16:38 -0400
committerRobert Haas <rhaas@postgresql.org>2021-10-13 12:23:32 -0400
commit6df1543abfed6f6a86b76a48fa11a6f019111c01 (patch)
tree5ed034b03857b4f6ee25e79991554ff707fc9e44 /src/test/modules/commit_ts/sql/commit_timestamp.sql
parent8c7be8688309dd7f30f313d3b312b31f64e93497 (diff)
downloadpostgresql-6df1543abfed6f6a86b76a48fa11a6f019111c01.tar.gz
postgresql-6df1543abfed6f6a86b76a48fa11a6f019111c01.zip
Refactor some end-of-recovery code out of StartupXLOG().
Create a new function PerformRecoveryXLogAction() and move the code which either writes an end-of-recovery record or requests a checkpoint there. Also create a new function CleanupAfterArchiveRecovery() to perform a few tasks that we want to do after we've actually exited archive recovery but before we start accepting new WAL writes. More refactoring of this file is planned, but this commit is just straightforward code movement to make StartupXLOG() a little bit shorter and a little bit easier to understand. Robert Haas and Amul Sul Discussion: http://postgr.es/m/CAAJ_b97abMuq=470Wahun=aS1PHTSbStHtrjjPaD-C0YQ1AqVw@mail.gmail.com
Diffstat (limited to 'src/test/modules/commit_ts/sql/commit_timestamp.sql')
0 files changed, 0 insertions, 0 deletions