1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2026-06-21 01:34:15 +02:00
Commit Graph

3659 Commits

Author SHA1 Message Date
Oleg Gurev 868c9c0480 Merge pull request #666 from postgrespro/merge-ce
Merge ce
2025-11-27 16:40:27 +03:00
Oleg Gurev da0d1d24de Merge remote-tracking branch 'origin/REL_2_5' into merge-ce 2025-11-27 16:34:34 +03:00
Oleg Gurev 6b957f19e7 [PBCKP-2775] Make auth_test.py multithreaded 2025-11-27 15:36:52 +03:00
oleg gurev ebf71447af [PBCKP-2775] Test test_incr_lsn_long_xact_1 fix 2025-11-27 13:06:45 +01:00
Viktoria Shepard 19f50332ac PBCKP-2559 add error message to add instance for incompatible Postgres version 2025-11-25 13:26:48 +01:00
Oleg Gurev 21fc4aa21a [PBCKP-2473] Skip block validation fixup for local mode only.
Unfortunately remote mode needs to extend ssh agent protocol, that will
broke backward compatibility.
2025-11-25 13:26:26 +03:00
Daria 57339ae3aa PBCKP-2705: Add PostgreSQL core patch for fixing build with REL_18
In commit 760162f user-callable CRC functions were added.
Since pg_probackup uses pg_crc.c from the PostgreSQL source,
this change is leading to the undefined reference to pg_detoast_datum_packed errors during the build.
See also https://www.postgresql.org/message-id/flat/ME0P300MB0445018F5C924B2D88983F45B66CA%40ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM
2025-11-25 13:26:00 +03:00
Daria 3689d50d58 PBCKP-2705: Adjust signal handling and compatibility for PostgreSQL 18
This patch adds compatibility changes for PostgreSQL 18:

    - Updated signal handler initialization in pgut.c to use sigaction()
      instead of pqsignal(), as pqsignal() now returns void.
    - Updated process_block_change() in backup.c to handle the new
      RelPathStr structure returned by relpathperm() in v18.
    - Updated CreateReplicationSlot_compat() in stream.c to support the
      new CreateReplicationSlot() signature introduced in v18.

    These changes ensure successful build and runtime behavior with
    PostgreSQL 18 while preserving backward compatibility with earlier
    versions.
2025-11-25 13:26:00 +03:00
Viktoria Shepard a2b03fb633 Revert "[PBCKP-1238] Warning when using the community Version of pg_pro backup 2 for ENT"
This reverts commit 98863ae0cd
2025-11-24 21:36:07 +01:00
Sergey Fukanchik 33615789b0 test NOJIRA 2025-11-17 10:21:54 +03:00
Oleg Gurev 72d3d524fc Merge pull request #665 from postgrespro/github-sync
GitHub sync
2025-11-11 15:36:27 +03:00
Japin Li 4c84105219 Fix warning about no previous declaration 2025-11-11 13:24:41 +03:00
Japin Li 7874bc45dc Fix warning about mixed declarations and code 2025-11-11 13:24:31 +03:00
Japin Li 0148fa8def Fix warning about shadows a previous local variable 2025-11-11 13:24:13 +03:00
Alexey Savchkov b803c072a5 Add version.sh 2025-10-07 10:25:28 +07:00
Viktoria Shepard 8d83a90c96 Edit requirements.txt
Update testgres version
2025-09-16 15:44:44 +02:00
Alexey Savchkov 283daff691 Merge branch 'REL_2_5' 2025-09-07 15:51:47 +07:00
Daria Lepikhova 99e11e9ae2 PBCKP-1527: Remove version 11 and 12 from README 2025-02-07 15:28:24 +07:00
Daria Lepikhova 556a4f0c0a PBCKP-1527: Update copyrights to 2025 2025-02-07 15:01:09 +07:00
Alexey Savchkov dc7d38132d Trim the minor ALT Linux versions in the installation instructions 2024-10-11 10:28:12 +07:00
Stepan Neretin 98863ae0cd [PBCKP-1238] Warning when using the community Version of pg_pro backup 2 for ENT
- Call check_version in add_instance subcmd to get correct error
2024-07-25 15:53:20 +07:00
vshepard 0c02283931 [NOJIRA] remove distutils 2024-06-25 16:41:08 +02:00
Alexey Savchkov a2510f5fa1 Merge remote-tracking branch 'origin/REL_2_5' 2024-05-17 00:49:41 +07:00
Oleg Gurev ac92457c2d [nojira] Change binary name to pg_probackup-16 2.5.15 2024-05-16 16:24:43 +03:00
Yura Sokolov 8d1358040a Merge branch 'REL_2_5' 2024-05-16 14:37:53 +03:00
Yura Sokolov 721d5d2311 Up version to 2.5.15 2024-05-16 14:37:37 +03:00
Yura Sokolov d0be25c356 Merge branch 'REL_2_5' 2024-05-16 14:16:57 +03:00
Yura Sokolov f361dda7f3 Revert "Replace BACKUP_PATH in the source files"
This reverts commit 90a4a4f4b3.
2024-05-16 14:08:04 +03:00
Alexey Savchkov f45f87fe56 Merge branch 'REL_2_5' 2024-05-14 18:48:18 +07:00
Oleg Gurev 28bc0f6358 [PBCKP-818] Refinery of documentation manually 2024-05-13 10:20:13 +03:00
Oleg Gurev 69379ab7a6 [PBCKP-818] Documentation update script work result. 2024-05-13 10:20:13 +03:00
Oleg Gurev 26f1e9c052 [PBCKP-818] Doc. Replace --instance <replaceable> to --instance=<replaceable> in the xml
- Replace --instance node to --instance=node in the xml
2024-05-13 10:19:51 +03:00
Oleg Gurev 2b74971f71 [PBCKP-818] Add id's for programlisting section
- to use with automatet listings update
2024-05-13 10:11:05 +03:00
oleg gurev d29b005d23 Rename default-units to no-scale-units 2.5.14 2024-05-06 04:39:06 +03:00
Alexey Savchkov 79d2b9d21c Name the backup by its ID 2024-04-19 10:13:04 +07:00
vshepard da79091ace Fix test_unfinished_merge for REL_2_5 2024-04-12 12:05:41 +02:00
Alexey Savchkov 91cddad61d Up version 2024-04-05 12:44:29 +07:00
Alexey Savchkov e9b8fcb1b2 Remove the version test 2024-04-05 12:22:38 +07:00
Yura Sokolov 63c281066d fix restoring highly compressed WAL
gzip surprisingly emits a lot of zeroes when compression ratio is high.
It triggered branch where FIO_PAGE_ZERO is emitted in agent but not handled
in fio_sned_file_gz properly.

Fix it.
2024-03-14 17:53:31 +03:00
Sofia Kopikova e39a31e369 PBCKP-964 fix bug with incremental restore of relation with more than one segment (always wrong checksum on non-zero segment) + add tests for it 2024-03-13 14:36:37 +03:00
Oleg Gurev 3b741ee4f5 [PBCKP-804] Test_AssertionError_Python3.11 (no attribute 'errors') 2024-03-13 14:36:37 +03:00
Viktoria Shepard 2fd0dda488 Print remote host 2024-03-07 23:28:44 +03:00
vshepard dffc2b2fcd PBCKP-805 add unlock mutex in data.c 2024-03-04 13:26:40 +01:00
Alexey Savchkov ab05badc9d Change backup-path to backup-dir 2024-02-14 23:54:50 +07:00
Alexey Savchkov 90a4a4f4b3 Replace BACKUP_PATH in the source files 2024-02-14 23:46:53 +07:00
oleg gurev 17037baea2 [PBCKP-913] Fix WAL switching with huge XLogRecord
- Backport of PBCKP-859 bugfix
- increase current segment number when reader has already read it before
- avoid error if reader has to switch WAL again
- add python test for PAGE backup with huge XLog record
2024-02-14 10:51:47 +03:00
Oleg Gurev 287e7fc89f Add_requirements.txt
testgres can be installed with
pip install -r pg_probackup/tests/requirements.txt
2024-02-09 15:51:10 +03:00
Alexey Savchkov 031d3ebef7 Put listitem contents in <para> 2024-02-02 12:07:24 +07:00
Oleg Gurev 43318d696b [PBCKP-874] Addeded default unit output for config-show
- config-show command now has --default-units parameter
- If it is provided, all time and memory
- configuration options will be printed in their default units
- test added, test_help_1 corrected
2024-01-29 20:20:22 +03:00
Oleg Gurev 09236c6583 [PBCKP-874] Addeded "Logging options" section to help.c for
- add-instance
- archive-push
- archive-get
- catchup
commands
2024-01-29 15:45:54 +03:00