1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-04-11 11:52:02 +02:00

463 Commits

Author SHA1 Message Date
Grigory Smolkin
02860600d9 bugfix: elog fact of copying file after locking it, not before 2018-12-25 16:44:37 +03:00
Arthur Zakirov
a42895620d Fix filling and releasing of black_list 2018-12-25 14:29:47 +03:00
Victor Spirin
31830df36d Added initialization of variable for tablespace renaming 2018-12-25 14:08:15 +03:00
Arthur Zakirov
9e8d70d51b Fix handling recursive tablespaces.
Earlier it was disabled to have recursive tablespaces. The code was buggy, so fix the code and allow to have such tablespaces.
2018-12-24 20:02:50 +03:00
Victor Spirin
98c67194a6 Fixed removing directory for the delete command 2018-12-18 19:00:33 +03:00
Arthur Zakirov
53cb7c1dd4 Fix removing files which are not in from_backup file list 2018-12-14 18:41:23 +03:00
Grigory Smolkin
13c4df812e bugfix: undeclared compress_alg 2018-12-14 16:55:32 +03:00
Arthur Zakirov
eec11c074c Fix comment in main() 2018-12-13 17:11:45 +03:00
Arthur Zakirov
5ad509a40e Fix comment introduced in 0b05cf0343 2018-12-12 17:52:01 +03:00
Arthur Zakirov
0b05cf0343 Improve comment within on_interrupt() 2018-12-12 17:27:31 +03:00
Arthur Zakirov
23d1a26e02 Fix MERGE of uncompressed with compressed backups 2018-12-12 15:10:25 +03:00
Grigory Smolkin
30cf45816d check backup version before backup validation, throw an error if backup version > binary version 2018-12-12 00:29:20 +03:00
Arthur Zakirov
eed5987406 Remove BOM marker from configuration.c 2018-12-11 12:47:21 +03:00
Arthur Zakirov
385f979fe7 Make compiler happy again 2018-12-11 12:27:36 +03:00
Arthur Zakirov
eead6b6307 Free unnecessary file object 2018-12-10 19:01:00 +03:00
Grigory Smolkin
9ac30ada54 bugfix: correctly log cmdline to logfile 2018-12-10 18:54:35 +03:00
Arthur Zakirov
dd18928e19 Make compiler happy 2018-12-10 18:02:22 +03:00
Arthur Zakirov
c1903db22b Fix format warnings 2018-12-10 16:19:51 +03:00
Arthur Zakirov
2837399e6b Fix MERGE of compressed and uncompressed backups 2018-12-07 17:24:21 +03:00
Arthur Zakirov
34c05740b0 Restore to_backup sizes after copying metadata from from_backup 2018-12-06 19:41:10 +03:00
Konstantin Knizhnik
e753643b8d Add error message in case of invalid compression algorithm 2018-12-06 19:00:08 +03:00
Arthur Zakirov
4ac0fab61b Show progress messages with INFO verbose level 2018-12-06 16:03:29 +03:00
Grigory Smolkin
529173287f fix tabulation offset 2018-12-03 13:41:39 +03:00
Grigory Smolkin
a039fd14aa add warning if waiting for START LSN during ARCHIVE backup is exceeding 30 seconds 2018-12-03 13:38:45 +03:00
Arthur Zakirov
b4e707b4d1 Merge branch 'master' into pgpro-2071 2018-11-28 12:41:14 +03:00
Arthur Zakirov
59da24d59c Replace PG_STOP_BACKUP_TIMEOUT by archive-timeout 2018-11-27 17:31:35 +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
640d1c9df4 Make compiler happy 2018-11-25 00:47:00 +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
Arthur Zakirov
bb3c0645aa PGPRO-2180: Use archive_timeout only, do not use checkpoint_timeout 2018-11-23 15:08:04 +03:00
Arthur Zakirov
7532cb36d1 PGPRO-2180: Reasonable time 2018-11-23 13:20:16 +03:00
Arthur Zakirov
bdf2539887 Improve log message within SimpleXLogPageRead 2018-11-23 12:41:42 +03:00
Arthur Zakirov
06b1dbe6f1 PGPRO-2180: Rewrite stop_lsn during pg_stop_backup 2018-11-23 12:03:29 +03:00
Arthur Zakirov
aab0ce3615 PGPRO-2180: Fix stop_streaming(), read recovery info using valid stop LSN 2018-11-22 14:44:57 +03:00
Arthur Zakirov
b4672e3ac8 PGPRO-2180: In pg_stop_backup for replica wait for LSN of prior record 2018-11-21 18:30:03 +03:00
Arthur Zakirov
6ea7c61c33 PGPRO-2180: Retreive stop_lsn from previous WAL segment 2018-11-20 16:33:36 +03:00
Arthur Zakirov
bbac29a29c PGPRO-2071: Use local dbname to connect to a server to get ptrack pagemap 2018-11-19 17:08:56 +03:00
Grigory Smolkin
d84d79668b disable wait for archive in pg_stop_backup 2018-11-16 09:39:32 +03:00
Grigory Smolkin
c0f0f7e44a Merge remote-tracking branch 'origin/skip_unchanged_files' 2018-11-15 22:26:16 +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
Arthur Zakirov
d04d314eba Keep compiler quite 2018-11-15 11:46: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
Arthur Zakirov
8505e78c91 Bug fix: do not add root slash for pg_wal path 2018-11-13 18:15:19 +03:00