Commit Graph
10 Commits
Author SHA1 Message Date
c00ffe2790 catchup functionality expansion (#419)
[PR #419] New command 'catchup' for synchronizing stale standby with master by transfering only changes blocks, or creating standby from scratch.

Co-authored-by: Elena Indrupskaya <e.indrupskaya@postgrespro.ru>
Co-authored-by: Grigory Smolkin <g.smolkin@postgrespro.ru>
2021-08-13 15:05:42 +03:00
Mikhail A. KulaginandGitHub 002d7b53b9 [PGPRO-5378] fix various tests (#420)
* [PGPRO-5378] tests.replica.ReplicaTest.test_replica_archive_page_backup stabilization
* Skip some tests on PG-9.5 (test_replica_switchover, test_replica_promote_archive_delta, test_replica_promote_archive_page, test_parent_choosing)
* travis: Fix compatibility issues with GDB
2021-08-13 02:59:20 +03:00
Mikhail A. KulaginandGitHub 384cf6dcfd CVE-2018-1058 fix (#415)
* CVE-2018-1058 fix
2021-08-12 14:50:07 +03:00
Mikhail A. KulaginandGitHub 4de1607e08 "fix" unstable backup.BackupTest.test_backup_with_less_privileges_role (disable tests in archive mode from replica) (#414) 2021-08-03 13:20:07 +03:00
Mikhail A. KulaginandGitHub ee5b1de316 add REL_14_STABLE and master PG branches to travis 2021-08-03 00:43:41 +03:00
Mikhail A. KulaginandGitHub 817b79b00f Add compatibility with postgres master (upcoming PG-15). (#410)
Upstream commit cda03cfed6b changed CreateReplicationSlot() signature
2021-07-15 12:25:32 +03:00
7de728496d Catchup command implementation (#392)
[ PR #392] New command "catchup" is added, it allows fallen-behind standby to "catch up" with master, or create standby from scratch without resorting to restore from backup

Co-authored-by: Grigory Smolkin <g.smolkin@postgrespro.ru>
Co-authored-by: anastasia <lubennikovaav@gmail.com>
Co-authored-by: Elena Indrupskaya <e.indrupskaya@postgrespro.ru>
2021-06-21 11:45:10 +03:00
cce59bc824 Remove ptrack-1.* support (#398)
* Remove ptrack-1.* support

* [PR #398] review feedback

* [PR #398] remove conn_arg from backup_files_arg

Co-authored-by: Grigory Smolkin <g.smolkin@postgrespro.ru>
2021-06-17 19:11:36 +03:00
Mikhail A. KulaginandGitHub 477e5bcb4f Some minor fixes (#397)
* Reformat fio_*() definitions for easier grep'ping
* typo
* move check_postmaster() into src/utils/file.c (from src/util.c), rename it to local_check_postmaster() and make it static/private to src/utils/file.c
2021-06-12 20:21:14 +03:00
Mikhail A. KulaginandGitHub 3013a783f3 Release 2 5 pg stop backup decomposition2 (#387)
* Rename pg_checksum_enable() to pg_is_checksum_enabled
* Remove unused instanceState from pg_start_backup()
* Refactor wait_wal_lsn(): remove unused pgBackup * parameter and replace InstanceState * with simple directory string
* Refactor pg_stop_backup(): remove useless conn variable
* Make some functions and variables (from backup.c) accessible from other compilation units
* Remove some references to global stream_wal variable
* Remove unused variable externaldir
* Yet another split of pg_stop_backup(): separate verification of stop_lsn into wait_wal_and_calculate_stop_lsn()
* Create pfilearray_clear_locks() helper function
2021-05-27 03:14:15 +03:00