1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-24 08:52:38 +02:00
Commit Graph

3516 Commits

Author SHA1 Message Date
asavchkov
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 Shelepanov
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
Vyacheslav Makarov
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
Elena Indrupskaya
141e96a0e6 [DOC] [PBCKP-128] [skip travis] Describe catchup dry-run flag 2022-05-23 15:07:27 +03:00
dlepikhova
e752b152d7
Merge pull request #483 from japinli/master
Fix comparison unsigned expression
2022-05-18 21:48:24 +05: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
japinli
0ae30afe0a Fix formattor for ftello 2022-04-21 20:25:28 +08:00
japinli
bdbc8265d4 Fix comparison unsigned expression 2022-04-19 19:02:20 +08:00
Mikhail A. Kulagin
e101bfda7a Fix incorrect PG_PROBACKUP_PTRACK definition in travis tests (led to the inability to run ptraсk tests) 2022-04-12 14:48:38 +03:00
Mikhail A. Kulagin
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
22c808312f [ci skip] [packaging] Fix CentOS-8 packaging, fix pgpro-std tests 2022-03-17 11:33:18 +03:00
Mikhail A. Kulagin
0834e54fc3 [PGPRO-6051] [DOC] [ci skip] before release last minute documentation changes 2022-02-17 15:37:09 +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
Mikhail A. Kulagin
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. Kulagin
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
1790a990d2 fix windows builds (add forgotten catchup.c into gen_probackup_project.pl) 2022-02-11 16:58:23 +03:00
Mikhail A. Kulagin
a454bd7d63 [ci skip] improve packaging:
* adding testing of packages for PG-14
* updating postgres versions
* adding reprepro config and rpmmacros to git
* fixing forgotten rhel repo signing and package testing
* adding alt-8 package testing
* removing debian-8, ubuntu-14.04 and ubuntu-16.04 packaging
* s/PGPRO Standart/PGPRO Standard/g
2021-12-26 21:24:15 +03:00
Mikhail A. Kulagin
58a5805b59 [ci skip] packaging/Readme.md fix 2021-12-25 18:07:00 +03:00
Mikhail A. Kulagin
f4c0ac3bf1 Version 2.5.4 2021-12-24 13:49:09 +03:00
Mikhail A. Kulagin
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
64ff0bbf74
[Issue #459][PGPRO-6034] Fix catchup (delta and ptrack) data corruption (#460)
* [Issue #459][PGPRO-6034] Fix catchup (delta and ptrack) data corruption
2021-12-24 13:18:11 +03:00
Mikhail A. Kulagin
758a32f092 Version 2.5.3 2021-11-22 13:16:48 +03:00
dlepikhova
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
5b6ca62417 [ci skip] packaging "tuning" 2021-10-26 00:06:23 +03:00
Grigory Smolkin
36e6d0f95d fix rhel dockerfiles for std|ent packaging 2021-10-22 14:57:32 +03:00
Mikhail A. Kulagin
c2e4f00932 [ci skip] packaging: small fix in packaging instruction 2021-10-22 00:54:41 +03:00
Mikhail A. Kulagin
d57b5fd6ed Version 2.5.2 2021-10-21 17:01:14 +03:00
Mikhail A. Kulagin
f3341dab4a [PGPRO-5750] fix windows compilation problem with PG-14
this is caused by upstream commit https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=bed90759fcbcd72d4d06969eebab81e47326f9a2
Reported by Victor Wagner and fixed by Victor Spirin
2021-10-21 16:03:46 +03:00
Mikhail A. Kulagin
92128e9b75 Merge branch 'release_2_5' 2021-10-21 13:54:14 +03:00
Mikhail A. Kulagin
474a9561ee [ci skip] README.md: fix astra linux version list 2021-10-21 13:52:23 +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. Kulagin
66dd4b26e4 [PGPRO-5705] remove snapfs (found in commits 9bf541b85, 8b8337047, 5c247d0ff) 2021-10-20 15:19:08 +03:00
Mikhail A. Kulagin
73496c4124 Fix broken tests.validate.ValidateTest.test_validate_instance_with_several_corrupt_backups_interrupt
+fix small typo introduced in 02a3665
2021-10-19 15:29:42 +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
49caaa3b57 [skip travis] README.md update: fix info about supported versions of PGPRO with ptrack 2021-10-18 06:00:41 +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
9ba98ad2ef travis: make 9.5 test allowed to fail 2021-10-16 23:33:16 +03:00
Mikhail A. Kulagin
807df12d3d travis: more universal indication of the name of the ptraсk patch 2021-10-16 23:30:27 +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
eb7eb16581 PTRACK now provides a separate patch for version 14 (see 3d6ccc6 ptrack commit), update travis testing configuration to use this standalone patch 2021-10-16 18:31:14 +03:00
Mikhail A. Kulagin
d9ba5d05ea Change README for upcoming 2.5.2 release 2021-10-16 18:25:43 +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