1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-03-27 22:41:59 +02:00

3574 Commits

Author SHA1 Message Date
Victor Spirin
eb5ccf91b8 PBCKP-751: Fixed for PG 16 build and removed some compilation warnings. 2023-09-21 17:32:59 +03:00
Sergey Fukanchik
9762426ce9 PBCKP-732 ignore PGDATA setting in catchup mode as we use --source-pgdata instead 2023-09-21 11:08:24 +00:00
Sergey Fukanchik
a29e378f34 PBCKP-698 allow relative paths in dir_create_dir 2023-09-18 19:48:22 +03:00
Viktoria Shepard
db12a039f6 PBCKP-604 doc add option --destroy-all-other-dbs 2023-05-26 19:38:57 +03:00
Yuriy Sokolov
c9fc20b898 PBCKP-604: Allow partial incremental restore only with a flag --destroy-all-other-dbs 2023-05-26 19:36:05 +03:00
Victor Spirin
0690f8d10e [PBCKP-602] Added saving full size for non data files. 2023-04-24 18:22:28 +03:00
Yura Sokolov
d6721662ec Use _chsize_s on windows to grow file
Looks like "seek after file end and write" doesn't work
correctly in Windows. We have to grow file before.

Met occasionally on GitHub actions run. Could not reproduce
locally.
2.5.12
2023-04-18 21:48:05 +03:00
Yura Sokolov
b7551bd2bf PBCKP-91: delete "\r" in windows command output. 2023-04-18 21:25:30 +03:00
Yura Sokolov
279c98140f PGPRO-552: use uint32 in some places 2023-04-15 14:48:17 +03:00
Alexey Savchkov
a04f00aacc Up version 2023-03-28 17:23:44 +07:00
s.fukanchik
c0b8eb7c20 PBCKP-91 fix grammar in probackup's log messages 2023-03-27 21:47:17 +03:00
Victor Spirin
91ebe718ba [PBCKP-528] Fixed memory leaks and some minor bugs. 2023-03-16 12:47:03 +03:00
s.fukanchik
2e6d20dba0 PBCKP-191 serialize wal segment push finalization 2023-03-12 19:59:17 +03:00
Daria Lepikhova
9727a98976 PBCKP-422: Fix is_enterprise checking for upstream and pgpro. Add is_pgpro checking 2023-03-10 18:24:46 +03:00
Yura Sokolov
3c111262af compatibility tests: skip if PGPROBACKUPBIN_OLD is not set 2023-03-07 18:23:48 +03:00
Sergey Fukanchik
be2b90bd3f PBCKP-553 fix a typo in merge preconditions check 2023-03-06 13:34:53 +03:00
Vyacheslav Makarov
7249b10be0 [PBCKP-247]: typo in the option_get_value function. 2023-03-06 12:26:55 +03:00
v.shepard
4c001e86f4 Style and typo fixes in pg_probackup.c, pg_probackup.h 2023-03-06 11:58:03 +03:00
Yura Sokolov
cbf2bf9dde Merge remote-tracking branch 'origin/REL_2_5' into REL_2_5 2023-02-28 22:58:09 +03:00
Daniel Shelepanov
a2387b5134 [PBCKP-211] got rid of timezone hack, tzset() allowed on every platform
Now if UTC is true in time2iso we just use strftime to format string and
add +00 timezone
2023-02-28 21:56:07 +03:00
Yura Sokolov
297dd2a7eb test for previous commit 2023-02-10 15:07:25 +03:00
Yura Sokolov
c8909b825e Fix warning in get_backup_filelist
pg_multixact contains files which looks like db files,
but they are not.

get_backup_filelist should not pass to set_forkname files
not in db folder nor `global` folder.
2023-02-09 15:33:10 +03:00
Yura Sokolov
92a4d56cd5 Merge remote-tracking branch 'origin/REL_2_5' into REL_2_5 2023-01-20 04:08:41 +03:00
Yura Sokolov
1f5991dadb fix cfs handling: forgot to set skip_cfs_nested 2023-01-20 04:06:41 +03:00
Yura Sokolov
137814aa6f do_retention_merge: fix removing from to_keep_list 2023-01-19 13:45:34 +03:00
Victor Spirin
49bb374d0c [PBCKP-365] Fixed test help_6 test. Added check_locale function for check that locale is installed. 2023-01-17 14:42:12 +03:00
Yura Sokolov
610216c6f8 ptrack_helpers.py: fix compare_pgdata 2023-01-13 15:31:12 +03:00
Yura Sokolov
b240b90772 fix for < Pg12 2023-01-13 09:38:48 +03:00
Yura Sokolov
d3babee2ae [PBCKP-287] simplify and fix cfs chaining
- properly chain only main fork and cfs related forks
- properly chain datafile with its cfm even sort order places other
  segments between
- don't raise error for system tables which has no companion cfm.

+ fix couple of tests
2023-01-12 17:30:54 +03:00
Ivan Lazarev
2f27142009 [PBCKP-287] skipping data_bck_file+cfm_bck_file on backup when they both exist 2023-01-12 14:32:48 +03:00
Ivan Lazarev
612f530de0 [PBCKP-287] fix. added cfs files grouping and processing cfs segment in single thread manner 2023-01-12 14:32:48 +03:00
Yura Sokolov
343c6a0f98 [PBCKP-423] add '.partial.part' detection as well
Purposes are:
- to not issue WARNING
- to remove file properly in delete_walfiles_in_tli
2023-01-12 00:26:45 +03:00
Yura Sokolov
fa2902090a [PBCKP-423] and backport cleanup_ptrack for test_archive_push_sanity 2023-01-12 00:04:47 +03:00
Yura Sokolov
22bdbb3915 [PBCKP-423] test_archive_push_sanity: wait logs with tail_file
(and some other test as well).
2023-01-11 23:37:45 +03:00
Yura Sokolov
8f4e7d6e5f [PBCKP-346] archive-get doesn't need -D/--pgdata argument at all 2022-12-22 06:05:51 +03:00
Yura Sokolov
764680e23f Merge branch 'REL_2_5' 2.5.11 2022-12-15 22:47:46 +03:00
e.garbuz
bbe41a403d Fix tests test_restore_from_fullbackup_to_new_location and test_restore_from_fullbackup_to_new_location_5_jobs 2022-12-15 13:37:15 +03:00
Alexander Burtsev
640e7a5dcd
Update README.md 2022-12-14 17:42:15 +03:00
Alexander Burtsev
30e3e37c7b
Update README.md 2022-12-14 16:09:53 +03:00
Alexey Savchkov
b90273fe14 Increment the expected test version 2022-12-13 22:50:17 +07:00
Yura Sokolov
10ac3c9918 [PBCKP-402] bound check for abortedRecPtr to Pg15
It is not really needed in previous versions.
It doesn't harm, but we want to reduce tests amount.
2022-12-13 13:09:34 +03:00
Yura Sokolov
24f12d98d9 [PBCKP-402,PBCKP-354] refix "missing contrecord" detection.
Error message is translated according to current locale. So we can't
compare it as a string. But `abortedRecPtr` exists exactly for this case,
so we can rely on it.
2022-12-13 02:52:18 +03:00
Alexey Savchkov
9391a1b676 Increment the version 2022-12-13 00:01:03 +07:00
Alexey Savchkov
b74ec9046d Update Readme 2022-12-12 22:31:14 +07:00
Sofia Kopikova
076e3fdae9 [PBCKP-394] skip creating partitioned index on < 11 versions on test_checkdb_amcheck_only_sanity 2022-12-12 15:46:17 +03:00
Daniel Shelepanov
822fbbfe50 [PBCKP-326] regex fixed in test_missing_replication_permission_1
Everything between WARNING and FATAL sections is now handled with the [\s\S]*? regex:
* [\s\S] is a group that handles any whitespace and non-whitespace character including new lines which are important in this case.
* "*" quantifier means zero or more characters. There may as well be nothing between these two sections.
* "?" quantifies in this case means greedy search so that we don't match more than we need.
2022-12-08 13:53:51 +03:00
Yura Sokolov
25e63c5a7c raw strings in python regex; ignore generated transation files
Author: Sergey Fukanchik
2022-12-08 07:44:12 +03:00
Victor Spirin
15c304ad6c [PBCKP-375] Prepared for moving RelFileNode to RelFileLocator in the PG16. 2022-12-07 14:21:50 +03:00
Daniel Shelepanov
3bc0fc4b81 Documentation hot fix 2022-12-07 13:35:25 +03:00
Yura Sokolov
29a9efb4d4 [PBCKP-325] refix test_issue_231
to make two backups in one second we have to fail them.
Therefore we have to fetch backup_id from log in exception's message.

Retry for 20 seconds to have a chance to start in one second.
If we couldn't, lets skip the test.
2022-12-06 14:17:04 +03:00