1263 Commits
Author SHA1 Message Date
d.lepikhova 55a74902fd Fix test_checkdb_with_least_privileges. Add GRANT EXECUTE on function pgpro_edition for amcheck indexes 2022-05-31 12:49:20 +05:00
d.lepikhova 02aef65853 Fix is_enterprise checking in ptrack_helpers.py 2022-05-31 11:21:59 +05:00
avanessandGitHub 7be2e738a9 PBCKP-145: added check of unlogged table is restored as empty table (#490) 2022-05-27 18:56:38 +03:00
0b5b37e893 Add a workflow to build and test probackup on Windows (#484)
* Add a workflow to build and test probackup on Windows

* [PBCKP-149] fix test_basic_validate_nullified_heap_page_backup for windows

Co-authored-by: Alexey Savchkov <a.savchkov@postgrespro.ru>
Co-authored-by: Mikhail A. Kulagin <m.kulagin@postgrespro.ru>
2022-05-26 15:53:01 +03:00
Daniel ShelepanovandGitHub 68b77a06bc [PBCKP-150] Reading buffer is flushed each time we verify the checksum. (#487)
The race condition is covered with a unit-test, the buffer is flushed
now so each of 300 reads requests the data from the disc.
2022-05-25 14:45:25 +03:00
4b2df86d69 PBCKP-97: added localization of messages
* PBCKP-97: Adding localization files

	Added localization of messages. Fixed some bugs.
	Added the --enable-nls tag for tests.
	Added a test to check the localization of messages.

Co-authored-by: Vyacheslav Makarov <v.makarov@postgrespro.ru>
2022-05-23 20:13:18 +03:00
d.lepikhova 94fd54ab63 Fix test pgpro560.CheckSystemID.test_pgpro560_control_file_loss. File /global/pg_control doesn't removed permanently 2022-04-29 21:15:35 +05:00
Mikhail A. KulaginandGitHub 06994293a2 [PGPRO-5387] Vanilla fixed idle replica archiving (#458)
See https://www.postgresql.org/message-id/flat/20210901.121225.1339494423357751537.horikyota.ntt%40gmail.com#ba576416b65f28725488861280805e84

So we can revert two workarounds:
* Revert "[PGPRO-5378] fix unstable tests.replica.ReplicaTest.test_replica_archive_page_backup"
This reverts commit 90b9b5745e.
* Revert ""fix" unstable backup.BackupTest.test_backup_with_less_privileges_role (disable tests in archive mode from replica)"
This reverts commit 5dcd1ce2b8.
2022-03-28 06:30:39 +03:00
Mikhail A. Kulagin 1d7a459058 Merge branch 'release_2_5_5' 2022-02-17 01:42:18 +03:00
Mikhail A. Kulagin d222659ee2 Version 2.5.5 2022-02-17 01:31:48 +03:00
6470693d2a [PGPRO-5612] Support for checkunique parameter of amcheck.bt_index_check() function (PR #456)
Co-authored-by: Elena Indrupskaya <e.indrupskaya@postgrespro.ru>
2022-02-17 01:24:08 +03:00
Mikhail A. KulaginandGitHub 98f77d24fd [PGPRO-5691] ptrack-2.3: move mmapped ptrack map into shared postgres… (#471)
* [PGPRO-5691] ptrack-2.3: move mmapped ptrack map into shared postgres memory
In ptrack-2.3 ptrack.map.mmap will be removed and 'incorrect checksum' error
will not be fatal (https://github.com/postgrespro/ptrack/pull/19)
* added test_corrupt_ptrack_map test compatibility with both version 2.2 and version 2.3 of ptrack
2022-02-12 21:35:03 +03:00
Mikhail A. Kulagin f4c0ac3bf1 Version 2.5.4 2021-12-24 13:49:09 +03:00
Mikhail A. KulaginandGitHub ad932d8a2e [PGPRO-6037] fix catchup timeline history checking (#462)
* [PGPRO-6037] fix catchup timeline history checking
2021-12-24 13:26:46 +03:00
Mikhail A. Kulagin 758a32f092 Version 2.5.3 2021-11-22 13:16:48 +03:00
b87ca18bfc [Issue #265][PGPRO-5421] archive-push backward compatibility (#437)
Restore the --wal-file-path option of the archive-push command (it was ignored since a196073) 

Co-authored-by: Mikhail A. Kulagin <m.kulagin@postgrespro.ru>
Co-authored-by: Elena Indrupskaya <e.indrupskaya@postgrespro.ru>
2021-11-22 10:41:49 +03:00
Mikhail A. Kulagin d57b5fd6ed Version 2.5.2 2021-10-21 17:01:14 +03:00
Mikhail A. Kulagin 92128e9b75 Merge branch 'release_2_5' 2021-10-21 13:54:14 +03:00
Mikhail A. Kulagin 196a70bd32 Fixes for ptrack tests (test_ptrack_vacuum, test_ptrack_vacuum_bits_frozen, test_ptrack_vacuum_bits_visibility):
this is workaround for spgist metadata update bug (PGPRO-5707)
2021-10-20 20:37:44 +03:00
Mikhail A. KulaginandMikhail A. Kulagin 66dd4b26e4 [PGPRO-5705] remove snapfs (found in commits 9bf541b85, 8b8337047, 5c247d0ff) 2021-10-20 15:19:08 +03:00
Mikhail A. Kulagin fd4b75abab Adapt tests.replica.ReplicaTest.test_archive_replica_not_null_offset to pgpro enterprise edition 2021-10-18 21:18:34 +03:00
Mikhail A. Kulagin a4308f0774 Fix tests.backup.BackupTest.test_missing_replication_permission_1: make it compatible with PGPROBACKUP_SSH_REMOTE=ON on PG14 (follow bd81f7fc1) 2021-10-18 17:40:43 +03:00
Mikhail A. Kulagin 3cd69fb903 relaxation of the requirement for calling the old pg_catalog.ptrack_version() function 2021-10-18 17:20:35 +03:00
Mikhail A. Kulagin 7eaac77fe5 Merge remote-tracking branch 'origin/master' into release_2_5 2021-10-18 15:41:43 +03:00
Mikhail A. Kulagin fc752c8902 Stabilize tests.checkdb.CheckdbTest.test_checkdb_with_least_privileges: accounting differences in amcheck versions in various editions of PG-10 (bd81f7f follow-up) 2021-10-18 05:51:12 +03:00
Mikhail A. Kulagin 0c3aff7429 Fix tests.pgpro2068.BugTest.test_minrecpoint_on_replica on 9.6 2021-10-17 00:07:05 +03:00
Mikhail A. Kulagin 034c597cf8 Follow-up to 7ca590c6c, fix tests.backup.BackupTest.test_incremental_backup_without_full 2021-10-16 23:11:49 +03:00
Mikhail A. Kulagin e22cb93034 Follow-up to 7ca590c6c, fix tests.backup.BackupTest.test_backup_modes_archive 2021-10-16 23:08:04 +03:00
Mikhail A. Kulagin 0545dd4a92 Running tests.ptrack.PtrackTest.test_horizon_lsn_ptrack now depends on PGPROBACKUPBIN_OLD 2021-10-15 12:53:07 +03:00
Mikhail A. Kulagin bd79fbbbbb test_ptrack_vacuum_truncate name was duplicated, rename one of them 2021-10-14 18:37:05 +03:00
Mikhail A. Kulagin c83a8d4ab9 Stabilize tests.ptrack.PtrackTest.test_ptrack_vacuum_full_2 2021-10-14 18:10:48 +03:00
Mikhail A. Kulagin 01db7adeca test_ptrack_vacuum_full name was duplicated, rename one of them 2021-10-14 17:27:57 +03:00
Mikhail A. Kulagin 80e88588c7 Fix broken in da5eb96 tests.validate.ValidateTest.test_basic_validate_nullified_heap_page_backup 2021-10-14 16:52:25 +03:00
Mikhail A. Kulagin da5eb961c4 Stabilize tests.backup.BackupTest.test_backup_modes_archive 2021-10-14 16:06:10 +03:00
Mikhail A. Kulagin de497aad52 Stabilize tests.ptrack.PtrackTest.test_horizon_lsn_ptrack 2021-10-14 15:11:08 +03:00
Mikhail A. Kulagin 76acd88e15 Stabilize tests.catchup.CatchupTest.test_tli_ptrack_catchup 2021-10-14 14:40:13 +03:00
Mikhail A. KulaginandGitHub bd81f7fc12 [PGPRO-5673] add missing grants (caused by CVE-2018-1058 fixes #415 P… (#441)
* [PGPRO-5673] add missing grants (caused by CVE-2018-1058 fixes #415 PGPRO-5315)
* tests.backup.BackupTest.test_missing_replication_permission_1: fix test for changed 14s output
* tests.backup.BackupTest.test_missing_replication_permission: fix test for 9.5
* tests.checkdb.CheckdbTest.test_checkdb_with_least_privileges: remove grant for nonexistent (in 10) bt_index_check(regclass, bool)
* tests.checkdb.CheckdbTest.test_checkdb_with_least_privileges: remove grant for nonexistent (in 9.5) pg_catalog.pg_control_system()
* tests.checkdb.CheckdbTest.test_checkdb_with_least_privileges: remove grant for nonexistent (in amcheck_next) bt_index_check(regclass)
* adapt tests/restore.py to Python-3.5 (used in travis tests)
* skip issue_313 test
2021-10-13 21:18:03 +03:00
Mikhail A. KulaginandGitHub 396155e5bc Issue 439 (#440)
* [Issue #439] skip unsupported tests in 9.5 (tests with backups from replica and with pg_control_checkpoint() calling)
2021-10-13 05:56:44 +03:00
Mikhail A. Kulagin 7feb748905 Prerelease test stabilization
ptrack.PtrackTest.test_ptrack_threads
backup.BackupTest.test_backup_with_least_privileges_role
ptrack.PtrackTest.test_ptrack_without_full
option.OptionTest.test_help_1
2021-10-13 05:30:20 +03:00
Grigory Smolkin 2e2a8b8dca [Issue #360] add test coverage 2021-09-26 15:40:00 +03:00
Grigory Smolkin 328eea196a Version 2.5.1 2021-08-13 16:14:04 +03:00
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. Kulagin 3e6701e618 Merge branch 'master' into release_2_5 2021-08-13 05:28:34 +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. Kulagin ba28354de7 Merge branch 'master' into release_2_5 2021-08-03 22:24:33 +03:00
AndrewBilleandGitHub 8846e1997a Stabilizy tests. (#411)
* tests: Introduced a new flag for tests -- PGPROBACKUP_GDB
* tests: Do travis builds with CFLAGS="-O0" (stabilization of gdb tests)
* tests: Run compatibility tests only if PGPROBACKUPBIN_OLD set
* tests: Running some tests now depends on PGPROBACKUP_SSH_REMOTE
2021-08-03 21:59:49 +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
AndrewBilleandGitHub f63faad5e7 tests: Run compatibility tests only if PGPROBACKUPBIN_OLD set (#408) 2021-07-15 10:44:00 +03:00
Grigory Smolkin 57f871accc Version 2.4.17 2021-07-15 00:48:21 +03:00