1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-05 11:00:22 +02:00
Commit Graph

202 Commits

Author SHA1 Message Date
Anastasia
8b5e2cd713 Fix CVE-2018-1058. Use schema name explicitly in all function calls. 2018-03-02 19:20:40 +03:00
Grigory Smolkin
9fd5a22506 bugfix: datafiles in directory global were not handled as datafiles, also _ptrack files in directory global were copied to backup 2018-03-01 22:24:21 +03:00
Arthur Zakirov
8977e0e3df Use stream_wal instead of current.stream 2018-02-27 18:39:07 +03:00
Arthur Zakirov
615c94c37e Check --instance for VALIDATE with target parameters 2018-02-26 16:26:28 +03:00
Arthur Zakirov
025dc07988 Revert "Check --instance for VALIDATE"
This reverts commit a98bc4e840.
2018-02-26 16:24:21 +03:00
Arthur Zakirov
604e867bd1 Fix parse_time(): it is possible TZ may be zero 2018-02-13 12:26:07 +03:00
Arthur Zakirov
a98bc4e840 Check --instance for VALIDATE 2018-02-12 19:50:43 +03:00
Arthur Zakirov
126db4a202 Make compiler happy 2018-02-12 18:39:50 +03:00
Arthur Zakirov
0985222c3c Show command line for BACKUP, RESTORE, VALIDATE, DELETE 2018-02-12 18:35:35 +03:00
Arthur Zakirov
8787a061e6 Fix check_server_version() for Pg10+ 2018-02-09 13:22:01 +03:00
Grigory Smolkin
492c691d07 derive server_version_string from server_version_num, because server_version can be changed at compile time by --with-extra-version 2018-02-09 00:25:02 +03:00
Grigory Smolkin
f9e36ee01e Version 2.0.15
- fix infinite loop in page validation
- fix segfault in parallel ptrack connections
- allow to use delete-wal option wihtout delete-expired(in accordance with documentation)
- allow to use pg_ptrack_get_block if it`s available and page is invalid
- help update
- testgres 1.3 support
- pglz is not thread-safe, do not allow multithread backup with pglz compression
- multiple minor fixes
2018-02-07 07:12:37 +03:00
Grigory Smolkin
0fa7217326 correct binary name for restore_command in recovery.conf 2018-02-06 22:35:54 +03:00
Grigory Smolkin
43e18cafc9 revert to getting backup_label and tablespace_map as files; pg_read_file superuser only 2018-02-06 22:15:41 +03:00
Grigory Smolkin
ec8462293e additional LOG-level messages, checksumm check 2018-02-06 20:37:45 +03:00
Anastasia
7eeb7a110b Fix directory check. Now pg_probackup init uses postgresql cross platform function pg_check_dir to ensure that backup catalog is empty 2018-02-02 21:02:18 +03:00
Anna
fa35f2e09c Added a NULL check after strdup() in backup.c 2018-02-02 17:52:13 +03:00
Arthur Zakirov
4c670a0be7 Do not allow multithread backup with pglz compression 2018-01-30 18:07:11 +03:00
Arthur Zakirov
07366183c4 Properly check that pglz is not supported 2018-01-30 16:09:24 +03:00
Arthur Zakirov
c1f668114e Revert "Properly check that pglz is not supported"
This reverts commit 3f272f2ed4.
2018-01-30 16:06:08 +03:00
Arthur Zakirov
3f272f2ed4 Properly check that pglz is not supported 2018-01-30 14:42:51 +03:00
Grigory Smolkin
8bea94b41e small fix for do_retention_purge 2018-01-24 05:09:36 +03:00
Grigory Smolkin
8529276c11 minor changes to elevel and comments 2018-01-24 05:00:49 +03:00
Grigory Smolkin
99d0e6e68a added user-friendly KB unit 2018-01-24 04:58:54 +03:00
Grigory Smolkin
5466ab6b99 bugfix for log_rotation_age which used OPTION_UNIT_S instead of OPTION_UNIT_MIN 2018-01-24 04:57:07 +03:00
Grigory Smolkin
0a87d49840 minor fix to do_retention_purge 2018-01-24 04:50:32 +03:00
Grigory Smolkin
a53c4c181d backup: allow to use delete-wal without delete-expired(in accordance with documentation) 2018-01-24 04:37:47 +03:00
Grigory Smolkin
5ac16cd2c1 help actualization 2018-01-24 04:29:22 +03:00
Grigory Smolkin
1f31693658 minor changes to log level and log messages 2018-01-23 13:43:31 +03:00
Grigory Smolkin
9d9a885734 optimization: close connection in thread when it`s not needed 2018-01-23 13:39:49 +03:00
Grigory Smolkin
0d3f145398 fix segfault in parallel ptrack backups 2018-01-23 13:36:49 +03:00
Grigory Smolkin
e1e628110c add compress option to help 2018-01-18 05:02:02 +03:00
Grigory Smolkin
e6122e3f42 minor fix to validate 2018-01-18 05:01:30 +03:00
Grigory Smolkin
830bcfdc6a bugfixes:
- if block is invalid after 100 read attempts then throw an error
 - if block is invalid after first read attempt then instead of additional 99 atempts use pg_ptrack_get_block if ptrack is supported
2018-01-18 04:56:12 +03:00
Grigory Smolkin
ecd6d1187d disable debug message 2018-01-17 13:40:41 +03:00
Anastasia
c981bf737f Version 2.0.14
- fixed race conditions in ptrack and page backups
- fixed parallel ptrack backup interruption
- added new backup state 'ORPHAN' which means that one of previous backups is corrupted
2018-01-17 10:46:29 +03:00
Grigory Smolkin
2f08a4b624 Merge remote-tracking branch 'origin/pgpro-1303' 2018-01-16 16:36:36 +03:00
Anastasia
073066b6a2 fix interrupts handlers for parallel connections 2018-01-16 15:19:48 +03:00
Arthur Zakirov
2a87b31c4f PGPRO-1303: delete_walfiles() removes compressed WAL files too 2018-01-16 14:40:02 +03:00
Anastasia
1ff4dde4ad fix parallel execution of pg_ptrack_get_block() 2018-01-16 14:16:50 +03:00
Anastasia
7ee0803849 make pg_probackup compatible with ptrack 1.5;
cleanup the code;
fix parallel pg_ptrack_get_block()
2018-01-16 11:54:15 +03:00
Anastasia
0905edfdb9 Merge branch 'master' into fix_ptrack_1230 2018-01-15 18:18:55 +03:00
Anastasia
7e28977a03 check is data_checksums are enabled in postgres instance 2018-01-15 17:58:44 +03:00
Anastasia
5b5fe6ea5c fix restore of the truncated files. code cleanup 2018-01-15 16:33:17 +03:00
Anastasia
0c2ce64c1b fix restore of the truncated files 2018-01-15 15:35:51 +03:00
Arthur Zakirov
97d028efbb Merge branch 'pgpro-1207' 2018-01-15 12:12:53 +03:00
Anastasia
ac195f47b6 truncate restored files when necessary 2018-01-14 15:45:56 +03:00
Anastasia
07a1630a65 fix for parallel truncate 2018-01-12 21:11:09 +03:00
Anastasia
9255205263 Merge branch 'master' into fix_ptrack_1230 2018-01-12 16:29:32 +03:00
Grigory Smolkin
8de10e25aa minor fix for base36enc 2018-01-11 20:27:08 +03:00