Commit Graph
100 Commits
Author SHA1 Message Date
Grigory Smolkin 9edb2e3498 minor improvement: for STREAM backups include wal_bytes into message about resident data size 2019-10-07 20:39:16 +03:00
Grigory Smolkin 59c341a2bb bugfix: duplicate returned by last_dir_separator() string for file->name 2019-10-07 20:24:40 +03:00
Grigory Smolkin c4b49c6abb [Issue #68] the backup pinning 2019-10-07 14:28:03 +03:00
Grigory Smolkin 0cd9e35028 [Issue #129] minor fix 2019-10-07 11:47:56 +03:00
Grigory Smolkin 20d8820d7a [Issue #129] Generate recovery.conf if --recovery-target='immediate' is provided 2019-10-06 21:48:44 +03:00
Grigory Smolkin 65969267fd [Issue #60] Calculate compression ratio("zratio") during backup 2019-10-04 17:20:55 +03:00
Grigory Smolkin 6062362519 tests: fixes 2019-10-04 10:36:56 +03:00
Grigory Smolkin b7d5d6c459 help: another minor update 2019-10-04 09:16:23 +03:00
Grigory Smolkin 8d6d1c6e40 help: minor update 2019-10-04 00:01:56 +03:00
Grigory Smolkin 544de123a4 [Issue #102] now it is possible to set restore_command via set-config 2019-10-03 23:56:47 +03:00
Grigory Smolkin 56726b25fa [Issue #128] Get timeline ID via pg_control_checkpoint() function 2019-10-03 13:07:47 +03:00
Grigory Smolkin c2d32da0a0 [Issue #124] report correct backup status if corruption is detected during validation. Reported By Yuri Kurenkov 2019-10-02 17:32:27 +03:00
Grigory Smolkin 4cf86c50c0 tests: minor fix 2019-10-02 17:30:55 +03:00
Grigory Smolkin 6fe844004e Improvements for plain show, honest wal_bytes for STREAM backups and merged backups 2019-09-24 18:28:10 +03:00
Grigory Smolkin cb6431369a add double quotes to filenames in elog messages 2019-09-24 18:01:40 +03:00
Grigory Smolkin 7121f04e71 [Issue #102] New options for 'restore' command used for setting 'restore_command' GUC in recovery.conf: '--archive-host', '--archive-post', 'archive-user' and '--restore-command' 2019-09-23 15:20:07 +03:00
Grigory Smolkin 435d114e5f Merge branch 'master' into wal_delete_refactoring 2019-09-23 14:06:38 +03:00
Grigory Smolkin 271d2d1305 Merge branch 'master' into wal_delete_refactoring 2019-09-23 13:57:35 +03:00
Grigory Smolkin 1d34fd8c84 minor fixes 2019-09-23 13:57:10 +03:00
Grigory Smolkin af50ddfb39 Readme: minor update 2019-09-21 14:54:41 +03:00
Grigory Smolkin 8f9861dfdf Documentation: update 'Configuring Backup Retention Policy' section 2019-09-21 14:50:14 +03:00
Grigory Smolkin 0e4d9fcec3 help: add 'Retenion options' to delete section 2019-09-21 14:02:46 +03:00
Grigory Smolkin 6b8ab83548 cleanup in delete.c 2019-09-20 16:04:54 +03:00
Grigory Smolkin 02840b81ab minor changes 2019-09-20 15:54:42 +03:00
Grigory Smolkin b1975e3ba4 tests: added archive.ArchiveTest.test_archive_catalog_1 and archive.ArchiveTest.test_archive_catalog_2 2019-09-20 15:51:12 +03:00
Grigory Smolkin eb9b2347eb [Issue #69] New algorithm of WAL purge, based on timelineInfo infrastructure 2019-09-20 11:02:47 +03:00
Grigory Smolkin ec6a627d4d save files belonging to a timeline into xlog_filelist array in timelineInfo structure 2019-09-20 10:47:07 +03:00
Grigory Smolkin f6ce9f0287 Ignore empty timelines in show archive 2019-09-19 14:53:09 +03:00
Grigory Smolkin 32e6407e03 make pretty_size() more precise 2019-09-19 09:51:15 +03:00
Grigory Smolkin 5b38c73089 Minor refactoring of WAL timelines constructor 2019-09-18 18:52:13 +03:00
Grigory Smolkin a363405aec tests: minor fixes 2019-09-18 18:33:28 +03:00
Grigory Smolkin b69e29bc0b Improve compatibility between different versions of binary and instance 2019-09-18 09:08:16 +03:00
Grigory Smolkin 3fa01d3236 tests: minor fix 2019-09-17 17:37:18 +03:00
Grigory Smolkin d34a6a3ad8 [Issue #116] WAL archive information 2019-09-17 17:35:27 +03:00
Grigory Smolkin 11ab44fb04 [Issue #118]: trust txid_snapshot_xmax() when determining recovery_xid 2019-09-16 13:47:24 +03:00
Grigory Smolkin 2413516389 tests: added set_auto_conf() 2019-09-14 02:49:41 +03:00
Grigory Smolkin 9f817080e6 Merge branch 'issue_115' 2019-09-06 14:43:37 +03:00
Grigory Smolkin 64b05d9597 [Issue #115]: minor improvements 2019-09-06 14:34:49 +03:00
Grigory Smolkin a98ff6154a [Issue #115]: some improvements of sanity and comments. Also do not wait for NullOffset LSN when looking for previous record 2019-09-06 13:20:42 +03:00
Grigory Smolkin 4dcbfc132b add comment to unlink_lock_atexit() 2019-09-06 11:43:57 +03:00
Grigory Smolkin bad8ce144e Documentation: minor spelling fix 2019-09-06 11:36:05 +03:00
Grigory Smolkin 07f63e473b added some improvements based on review 2019-09-06 11:26:42 +03:00
Grigory Smolkin 3093bb91b7 tests: minor fix 2019-09-05 15:57:21 +03:00
Grigory Smolkin 58b2a55384 [Issue #117] Documentation update 2019-09-05 15:44:17 +03:00
Grigory Smolkin d656405432 [Issue #117] fix tests 2019-09-05 15:43:32 +03:00
Grigory Smolkin 62acd2de2d [Issue #117] use suffix ".part" instead of ".partial" for WAL copying 2019-09-05 15:41:13 +03:00
Grigory Smolkin 8630b0d1a3 [Issue #117] test coverage 2019-09-05 13:54:28 +03:00
Grigory Smolkin be339bf406 tests: minor fix 2019-09-05 13:09:13 +03:00
Grigory Smolkin 71715d62dc Merge branch 'master' into issue_115 2019-09-05 11:12:41 +03:00
Grigory Smolkin a42ebbff0c tests: minor fixes 2019-09-05 11:12:17 +03:00
Grigory Smolkin 7c5e799c21 [Issue #115] look-forward approach of handling the invalid stop_lsn received from replica 2019-09-05 10:46:01 +03:00
Grigory Smolkin 18211c5f18 [Issue #115] test coverage 2019-09-05 09:30:45 +03:00
Grigory Smolkin 2aea9cc760 print stop_lsn with elevel LOG 2019-08-31 15:48:52 +03:00
Grigory Smolkin 0f0e961fea [Issue #79]: remove partial validate from help 2019-08-31 03:30:57 +03:00
Grigory Smolkin eb9436bc19 [Issue #79]: remove partial validate from documentation 2019-08-31 03:28:42 +03:00
Grigory Smolkin d8b8b0898e [Issue #79]: remove partial validation 2019-08-31 02:16:45 +03:00
Grigory Smolkin b278a2fbf5 tests: minor fixes 2019-08-29 23:05:53 +03:00
Grigory Smolkin f270d38b0e [Issue #114]: allow invalid backups to be included in to_keep_list during retention purge 2019-08-28 20:26:36 +03:00
Grigory Smolkin 5e618d44c5 tests: added retention.RetentionTest.test_failed_merge_redundancy_retention 2019-08-28 20:12:13 +03:00
Grigory Smolkin 8c570b57f1 tests: detect missing backup in case of using "show" with "--backup-id" option 2019-08-28 20:08:42 +03:00
Grigory Smolkin 5707a727b5 added TODO comment for show 2019-08-28 18:52:22 +03:00
Grigory Smolkin 2286c4bfe8 [Issue #112] tests: added time_stamp.CheckTimeStamp.test_server_date_style 2019-08-28 13:10:09 +03:00
Grigory Smolkin 9c4cdef76a [Issue #113] bugfix: use rel_path attribute insead of path for sorting purposes and bsearch 2019-08-27 20:21:02 +03:00
Grigory Smolkin dd124b34d9 [Issue #113] improve test coverage 2019-08-27 20:01:38 +03:00
Grigory Smolkin aef926ffd0 check for potential errors when fgets() returns NULL 2019-08-27 19:24:10 +03:00
Grigory Smolkin b95a1589a4 Windows: minor fix 2019-08-13 19:41:02 +03:00
Grigory Smolkin 1c9013eb0f Windows: 9.5 build 2019-08-13 19:23:47 +03:00
Grigory Smolkin 0ff4ecd547 Revert "Removed libpgfeutils.lib from Windows project"
This reverts commit d38b5e6ece.
2019-08-13 11:54:48 +03:00
Grigory Smolkin a0dc029d32 Merge branch 'master' into issue_90 2019-08-12 19:17:41 +03:00
Grigory Smolkin 4edc414cb9 Documentation: partial restore update 2019-08-12 19:03:13 +03:00
Grigory Smolkin ecd37a7a34 update help 2019-08-12 18:54:56 +03:00
Grigory Smolkin daa6a02d4c Merge branch 'master' into issue_79 2019-08-11 13:59:12 +03:00
Grigory Smolkin 57d3e12584 tests: fixes 2019-08-11 13:54:58 +03:00
Grigory Smolkin 0ae5a66bfb partial_restore_type as separate type 2019-08-11 13:54:43 +03:00
Grigory Smolkin 08afc88152 README: update windows installers link 2019-08-09 21:18:33 +03:00
Grigory Smolkin 454eeac8f8 tests: added validate.ValidateTest.test_partial_validate_exclude and validate.ValidateTest.test_partial_validate_include 2019-08-09 20:40:01 +03:00
Grigory Smolkin 01e57eafba Merge branch 'master' into issue_79 2019-08-09 14:10:54 +03:00
Grigory Smolkin 87f214ef72 tests: added validate.ValidateTest.test_recovery_target_lsn_backup_victim 2019-08-09 13:24:55 +03:00
Grigory Smolkin cd00806f11 fix elog message about agent version mismatch 2019-08-09 12:50:38 +03:00
Grigory Smolkin f4790b6291 write dbOid in write_backup_filelist() 2019-08-07 18:40:20 +03:00
Grigory Smolkin 736fc414ef tests: do not run some tests on Windows 2019-08-06 19:21:52 +03:00
Grigory Smolkin 0b4d09e262 [Issue #109] added test validate.ValidateTest.test_recovery_target_backup_victim 2019-08-06 19:09:17 +03:00
Grigory Smolkin 3cc9d81b65 [Issue #104] consider only OK and DONE backups as candidates for PITR validation if backup ID is not specified 2019-08-06 17:11:48 +03:00
Grigory Smolkin 6da63188eb [Issue #104] allow LSN as recovery target for validation if backup ID is not specified 2019-08-06 12:00:44 +03:00
Grigory Smolkin 11c02e9b91 [Issue #108] added test validate.ValidateTest.test_validate_target_lsn 2019-08-06 11:58:57 +03:00
Grigory Smolkin b799b70400 Merge branch 'issue_106' 2019-08-06 00:07:01 +03:00
Grigory Smolkin 8b15753a04 tests: added retention.RetentionTest.test_wal_purge_victim 2019-08-06 00:01:05 +03:00
Grigory Smolkin db901a7adf [Issue #103] minor fix 2019-08-06 00:00:34 +03:00
Grigory Smolkin 4783e61996 Merge branch 'master' into issue_103 2019-08-05 23:41:23 +03:00
Grigory Smolkin 738013fc05 Merge branch 'master' into issue_106 2019-08-05 23:36:29 +03:00
Grigory Smolkin 535e417ba8 tests: added retention.RetentionTest.test_agressive_retention_window_purge 2019-08-05 23:35:51 +03:00
Grigory Smolkin 5cb84f2686 Readme: update 2019-08-02 12:49:21 +03:00
Grigory Smolkin f9a0dcca5c Readme: update 2019-08-02 12:47:58 +03:00
Grigory Smolkin ea2a4c2be3 bugfix: stream_stop_timeout was always initialized to 0 2019-08-02 12:00:10 +03:00
Grigory Smolkin b6e97e47f2 [Issue #106] fix agressive retention purging of backups with empty recovery-time 2019-08-02 11:50:28 +03:00
Grigory Smolkin 142540705d tests: added retention.RetentionTest.test_window_error_backups_1 and retention.RetentionTest.test_window_error_backups_2 2019-08-01 23:57:14 +03:00
Grigory Smolkin 52ed2e1651 one more fix for error messages about wrong agruments for 'delete' command 2019-08-01 22:15:59 +03:00
Grigory Smolkin 98f5bbd3cf fix error message about wrong agruments for 'delete' command 2019-08-01 22:10:59 +03:00
Grigory Smolkin 7ead1199c2 bugfix: print "version" command output to stdout instead of stderr 2019-07-31 17:17:26 +03:00
Grigory Smolkin 8623628839 Merge branch 'master' into issue_79 2019-07-30 16:02:28 +03:00