1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-25 09:01:48 +02:00
pg_probackup/expected/delete.out
Michael Paquier 6de8b16403 Incorporate new test facility in pg_arman
This new facility has the advantage on not relying on static data when
generating the tests making the whole facility more robust. This is
basically taken from the upstream project pg_rman and adapted for the
sake of this pet project, so most of the credit go to Kyotaro Horiguchi
and Amit Langote regarding this facility. However I have adapted a bunch
of things and fixed a lot of redundancy and code duplication.
2016-01-13 14:57:51 +09:00

21 lines
925 B
Plaintext

\! bash sql/delete.sh
###### DELETE COMMAND TEST-0001 ######
###### delete full backups ######
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
try to delete the oldest backup
2
1
Number of deleted backups should be 1, is it so?: 1
###### DELETE COMMAND TEST-0002 ######
###### keep backups which are necessary for recovery ######
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
try to delete before third backup
3
1
Number of deleted backups should be 1, is it so?: 1