aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-03-14 10:49:52 +0900
committerMichael Paquier <michael@paquier.xyz>2024-03-14 10:49:52 +0900
commit99b4a63bef94b8e62a9a96c2446d1c16f95acd3b (patch)
tree2fbd91ca702c29989faa92f5e6fe45c5349e1d19 /src/backend/tcop/postgres.c
parente820db5b56b20c68bce2956f8f6c8ba6bfff5735 (diff)
downloadpostgresql-99b4a63bef94b8e62a9a96c2446d1c16f95acd3b.tar.gz
postgresql-99b4a63bef94b8e62a9a96c2446d1c16f95acd3b.zip
Add basic TAP tests for the low-level backup method
There are currently no tests for the low-level backup method where pg_backup_start() and pg_backup_stop() are involved while taking a file-system backup. The tests introduced in this commit rely on a background psql process to make sure that the backup is taken while the session doing the SQL start and stop calls remains alive. Two cases are checked here with the backup taken: - Recovery without a backup_label, leading to a corrupted state. - Recovery with a backup_label, with a consistent state reached. Both cases cross-check some patterns in the logs generated when running recovery. Author: David Steele Discussion: https://postgr.es/m/f20fcc82-dadb-478d-beb4-1e2ffb0ace76@pgmasters.net
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions