Commit Graph
104 Commits
Author SHA1 Message Date
Konstantin Knizhnik fa146f5da0 Merge with master 2019-01-11 19:08:39 +03:00
Arthur Zakirov 23d1a26e02 Fix MERGE of uncompressed with compressed backups 2018-12-12 15:10:25 +03:00
Arthur Zakirov c1903db22b Fix format warnings 2018-12-10 16:19:51 +03:00
Konstantin Knizhnik e753643b8d Add error message in case of invalid compression algorithm 2018-12-06 19:00:08 +03:00
Konstantin Knizhnik bb760c38c6 Merge with maste 2018-11-29 19:58:40 +03:00
Arthur Zakirov b4e707b4d1 Merge branch 'master' into pgpro-2071 2018-11-28 12:41:14 +03:00
Arthur Zakirov e199c4aee8 Use CRC-32C again. Calculate crc for pg_control differently using ControlFileData struct.
Bump version to 2.0.25.
2018-11-26 14:17:46 +03:00
Arthur Zakirov 990d67a49e Use *_FILE_CRC32 macroses instead of *_TRADITIONAL_CRC32 2018-11-25 01:09:26 +03:00
Arthur Zakirov 0e5cc88062 Merge branch 'master' into pgpro-2071 2018-11-23 19:07:19 +03:00
Grigory Smolkin 57ca17ad6c bugfix: use CRC32C for crc comparison during archive-push if target WAL segment is compressed 2018-11-23 18:40:21 +03:00
Grigory Smolkin 7e2fccd041 bugfix: use CRC32 for crc comparison during archive-push if target WAL segment is compressed 2018-11-23 18:16:49 +03:00
Konstantin Knizhnik 75b181c039 Merge with master 2018-11-15 18:37:13 +03:00
Sergey Cherkashin f53395529b Refactored calc_file_checksum() 2018-11-15 18:22:43 +03:00
Arthur Zakirov eb15c16967 Merge branch 'master' into pgpro-2071 2018-11-15 15:22:42 +03:00
Sergey Cherkashin 6d0cbfa232 Fix test test_arhive_push_file_exists 2018-11-14 18:17:28 +03:00
Sergey Cherkashin 20d4dcc291 Modifyed test test_arhive_push_file_exists. Fixed fileEqualCRC()
error handling
2018-11-14 18:17:28 +03:00
Sergey Cherkashin 6deb3bbe2b fileEqualCRC() refactoring 2018-11-14 18:17:28 +03:00
Sergey Cherkashin 4befefada2 Skip copy WAL file to archive if already exists 2018-11-14 18:17:28 +03:00
Victor Wagner a769f47217 Fix compilation under FreeBSD and Solaris 2018-11-13 15:03:26 +03:00
Arthur ZakirovandArthur Zakirov 88354a8dde PGPRO-1892: Continue failed merge command 2018-11-10 23:56:15 +03:00
Anastasia 4995652ef5 fix decompression of BLCKSZ pages 2018-11-10 15:49:36 +03:00
Arthur Zakirov 77c59158be PGPRO-2071: Refactor pg_probackup configure set/get, use InstanceConfig 2018-11-09 18:45:05 +03:00
Anastasia 141ba33000 fix: close file after validation 2018-11-08 20:49:30 +03:00
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
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 57eac499c4 Merge branch 'master' into remote_ssh 2018-11-08 12:29:28 +03:00
Konstantin Knizhnik 05e3211e27 Provide backward compatibility for decompression bug 2018-11-08 12:27:42 +03:00
Konstantin Knizhnik dec2e62429 Provide backward compatibility for decompression bug 2018-11-08 12:23:04 +03:00
Konstantin Knizhnik 62d0f5fc97 Fix bug with page compression 2018-11-07 22:06:50 +03:00
Konstantin Knizhnik 6b029ebfdc Support compression 2018-11-05 23:18:44 +03:00
Konstantin Knizhnik 9a4780700c First successful restore 2018-11-05 15:23:46 +03:00
Konstantin Knizhnik be6a4e9bcb Remote backup works 2018-11-04 23:20:07 +03:00
Konstantin Knizhnik be4c4be4c2 Fix rermote backup protocol 2018-11-04 10:02:26 +03:00
Konstantin Knizhnik 050d0150d0 Implement remote backup though SSH 2018-11-02 20:24:09 +03:00
Arthur Zakirov 3769efdcb2 Update copyrights and rename COPYRIGHT to LICENSE 2018-11-02 15:08:33 +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 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
Grigory Smolkin 31b9da4fb7 change elevel to VERBOSE for message about file truncate in restore_data_file() 2018-10-18 16:52:56 +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
Arthur Zakirov 2df3953d55 Refactoring of includes and unused code 2018-10-15 15:44:39 +03:00
Arthur Zakirov e0387242a9 PGPRO-2070: Fix undefined behaviour in check_file_pages() 2018-10-11 12:07:33 +03:00
Grigory Smolkin a7329d9b81 bugfix: nullified page shouldn`t be skipped by DELTA backup 2018-10-10 11:37:12 +03:00
Anastasia c8971f5d27 If checksums are enabled, the validate command now verifies checksums for blocks of datafiles. 2018-10-09 17:22:06 +03:00
Arthur Zakirov c22b3e47bc Bug fix. Do not align compressed size during decompressing 2018-09-17 12:49:14 +03:00
Arthur Zakirov 4ed28cf6e5 PGPRO-1449: Add MERGE command: merge PAGE with FULL backup 2018-08-02 11:57:39 +03:00
Arthur Zakirov e8037dd3b0 Merge branch 'pgpro-427' 2018-07-24 18:05:34 +03:00