1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-04 10:44:46 +02:00
Commit Graph

1227 Commits

Author SHA1 Message Date
Anastasia
c530d28869 change datafile validation algorithm:
- validate file block by block by default, not only in case of file-level checksum corruption;
    - add an option: --skip-block-validation to disable this behaviour;
    - calculate file checksum at the same time as validate blocks;
2018-11-08 19:38:22 +03:00
Arthur Zakirov
a0ec849b4a We should check only negative return values 2018-11-08 18:13:42 +03:00
Arthur Zakirov
cf6e7445e5 Remove .autosave 2018-11-08 15:51:58 +03:00
Arthur Zakirov
53c1a05b9b Remove unnecessary validate_backup_version 2018-11-08 15:50:24 +03:00
Konstantin Knizhnik
728e3d5bdc Avoid compression warnings for already compressed pages 2018-11-08 15:25:28 +03:00
Arthur Zakirov
ea3ed9fa17 Instead of current global backup variable use function local argument, which is sent by callers 2018-11-08 15:04:55 +03:00
Konstantin Knizhnik
5e12fec6ab Eliminate unsued varaibles 2018-11-08 12:43:19 +03:00
Konstantin Knizhnik
05e3211e27 Provide backward compatibility for decompression bug 2018-11-08 12:27:42 +03:00
Konstantin Knizhnik
45940cb587 Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2018-11-07 22:07:02 +03:00
Konstantin Knizhnik
62d0f5fc97 Fix bug with page compression 2018-11-07 22:06:50 +03:00
Grigory Smolkin
1f951e4e71 revert log-rotation-age unit change 2018-11-07 04:57:06 +03:00
Grigory Smolkin
16b9b36981 bugfix: change units for archive-timeout & archive-timeout to seconds, log-rotation-age to minutes 2018-11-07 04:29:54 +03:00
Arthur Zakirov
3769efdcb2 Update copyrights and rename COPYRIGHT to LICENSE 2018-11-02 15:08:33 +03:00
Anna
bf1c8797ae Make pg_probackup support ptrack 1.7 2018-10-30 16:21:38 +03:00
Anna
7ab07a5f49 Fix tests
- remove outdated comment about ptrack
- stop compatibility tests from launching two times
- make test_tablespace_in_pgdata_pgpro_1376 clean up after itself
2018-10-30 15:44:54 +03:00
Arthur Zakirov
b065f09cf3 Release PGresult after query execution in pg_ptrack_clear() 2018-10-29 19:19:08 +03:00
Grigory Smolkin
9804b79c91 bugfix: uninterrupt WAL reading 2018-10-27 12:47:21 +03:00
Grigory Smolkin
8c5e8e0ccd minor spell fix in elog messages about LSN from future 2018-10-27 12:22:27 +03:00
Arthur Zakirov
62a6317ed8 Version 2.0.22
- Calculate checksum for backuped files using CRC-32, validate pre 2.0.22 backups using CRC-32C
- Do not backup unchanged _vm,_fsm, pg_clog, pg_multixact, etc files
- Write program-version only during backup
- Minor fixes and bug fixes
2018-10-26 19:10:04 +03:00
Arthur Zakirov
0e6b0b2fdb PGPRO-2096: For pre 2.0.22 validate using CRC-32C 2018-10-26 19:09:39 +03:00
Arthur Zakirov
23cf692428 PGPRO-2096: Use CRC-32 instead of CRC-32C
Using CRC-32C to calculate checksum of pg_control gives same value for different backups.
It might be because pg_control stores its content plus checksum of the content.
2018-10-26 17:49:39 +03:00
Arthur Zakirov
effc719dd5 Bug fix. Save all metadata of the target backup, not only its status 2018-10-25 19:05:58 +03:00
Grigory Smolkin
cc45cea3c9 tests: ptrack yet another fix 2018-10-24 21:08:00 +03:00
Victor Spirin
59b237b93e fix gen_probackup_project.pl for generate Windows project 2018-10-23 19:12:23 +03:00
Arthur Zakirov
4d478e3dcf In PG_CPPFLAGS for vpath build 2018-10-23 17:29:38 +03:00
Grigory Smolkin
64ac528add tests: PGPRO-2096, validation failed to detect pg_control change via resetxlog 2018-10-22 10:01:53 +03:00
Grigory Smolkin
fe3c422c5f tests: additional retention test 2018-10-20 13:44:47 +03:00
Grigory Smolkin
760c80f7f4 tests: bloom index support 2018-10-19 14:54:17 +03:00
Grigory Smolkin
31b9da4fb7 change elevel to VERBOSE for message about file truncate in restore_data_file() 2018-10-18 16:52:56 +03:00
Grigory Smolkin
cf3c69e906 tests: bloom index added to tests 2018-10-18 16:37:34 +03:00
Arthur Zakirov
535409291f pg_probackup.h move up 2018-10-18 15:43:30 +03:00
Arthur Zakirov
f540554da9 Make compiler happy in Windows 2018-10-18 15:01:30 +03:00
Grigory Smolkin
151145d0a0 tests: compatibility test added 2018-10-18 10:32:26 +03:00
Grigory Smolkin
85bc40a907 Merge remote-tracking branch 'origin/pgpro-2073' 2018-10-18 09:48:17 +03:00
Grigory Smolkin
39f005b6a6 tests: add module ptrack_empty, create_db_on_replica 2018-10-18 09:46:02 +03:00
Grigory Smolkin
9ec6357a0a tests: fix ptrack_cluster 2018-10-17 18:11:53 +03:00
Grigory Smolkin
ff316021b0 tests: ptrack madness 2018-10-17 17:04:23 +03:00
Grigory Smolkin
3088f4fbf2 tests: some more of ptrack fixes 2018-10-17 12:56:03 +03:00
Grigory Smolkin
dff482a2da tests: ptrack tests major revamp 2018-10-16 22:53:59 +03:00
Grigory Smolkin
c9823c04c9 tests: fix major bugs in ptrack tests 2018-10-16 19:16:46 +03:00
Arthur Zakirov
0b2e0469ac PGPRO-2073: Write program-version only during backup 2018-10-16 18:28:00 +03:00
Grigory Smolkin
a401164223 tests: change check_ptrack_sanity() so page delete considered valid case for ptrack marking 2018-10-16 16:58:28 +03:00
Grigory Smolkin
4e68bac2f8 PGPRO-2073: fix missing write_backup 2018-10-16 12:11:59 +03:00
Arthur Zakirov
5d1f680c48 PGPRO-2073: Save only status if we dont do backup 2018-10-16 12:11:59 +03:00
Grigory Smolkin
bd703a0f0b tests: compatibility test minor fix 2018-10-16 10:50:29 +03:00
Grigory Smolkin
ed90318166 tests: fix probackup_old_path 2018-10-15 19:31:12 +03:00
Arthur Zakirov
720897880a Include catalog/catalog.h for pre PG 11 2018-10-15 17:26:06 +03:00
Arthur Zakirov
2f3ebb499b Include common/relpath.h 2018-10-15 17:21:39 +03:00
Grigory Smolkin
4b048ba4db tests: minor changes 2018-10-15 17:09:16 +03:00
Arthur Zakirov
2df3953d55 Refactoring of includes and unused code 2018-10-15 15:44:39 +03:00