Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgrespro/pg_probackup
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.18
Choose a base ref
...
head repository: postgrespro/pg_probackup
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: stable
Choose a head ref
Loading
Showing with 66,729 additions and 16,969 deletions.
  1. +16 −0 .gitignore
  2. +43 −3 .travis.yml
  3. +0 −29 COPYRIGHT
  4. +2,096 −0 Documentation.md
  5. +22 −0 LICENSE
  6. +39 −18 Makefile
  7. +142 −42 README.md
  8. +5 −0 doc/Readme.md
  9. +5,641 −0 doc/pgprobackup.xml
  10. +12 −0 doc/probackup.xml
  11. +420 −0 doc/stylesheet.css
  12. +50 −0 doc/stylesheet.xsl
  13. +0 −1 doit.cmd
  14. +0 −1 doit96.cmd
  15. +77 −38 gen_probackup_project.pl
  16. +0 −28 msvs/pg_probackup.sln
  17. +0 −212 msvs/template.pg_probackup.vcxproj
  18. +0 −210 msvs/template.pg_probackup96.vcxproj
  19. +0 −203 msvs/template.pg_probackup_2.vcxproj
  20. +1,675 −53 src/archive.c
  21. +1,403 −1,445 src/backup.c
  22. +1,900 −251 src/catalog.c
  23. +712 −0 src/checkdb.c
  24. +636 −322 src/configure.c
  25. +1,910 −984 src/data.c
  26. +926 −272 src/delete.c
  27. +891 −530 src/dir.c
  28. +12 −20 src/fetch.c
  29. +528 −161 src/help.c
  30. +50 −24 src/init.c
  31. +1,195 −320 src/merge.c
  32. +1,303 −459 src/parsexlog.c
  33. +623 −223 src/pg_probackup.c
  34. +832 −248 src/pg_probackup.h
  35. +706 −0 src/ptrack.c
  36. +1,483 −372 src/restore.c
  37. +890 −268 src/show.c
  38. +0 −118 src/status.c
  39. +387 −80 src/util.c
  40. +1,488 −0 src/utils/configuration.c
  41. +106 −0 src/utils/configuration.h
  42. +2,727 −0 src/utils/file.c
  43. +141 −0 src/utils/file.h
  44. +17 −5 src/utils/json.c
  45. +3 −4 src/utils/json.h
  46. +208 −121 src/utils/logger.c
  47. +22 −20 src/utils/logger.h
  48. +19 −3 src/utils/parray.c
  49. +1 −0 src/utils/parray.h
  50. +299 −1,517 src/utils/pgut.c
  51. +12 −142 src/utils/pgut.h
  52. +250 −0 src/utils/remote.c
  53. +24 −0 src/utils/remote.h
  54. +9 −2 src/utils/thread.c
  55. +7 −1 src/utils/thread.h
  56. +419 −69 src/validate.c
  57. +19 −3 tests/Readme.md
  58. +40 −44 tests/__init__.py
  59. +1,801 −147 tests/archive.py
  60. +26 −27 tests/auth_test.py
  61. +2,900 −0 tests/backup.py
  62. +0 −522 tests/backup_test.py
  63. +5 −6 tests/cfs_backup.py
  64. +20 −20 tests/cfs_restore.py
  65. +660 −0 tests/checkdb.py
  66. +1,336 −0 tests/compatibility.py
  67. +109 −83 tests/compression.py
  68. +117 −0 tests/config.py
  69. +875 −0 tests/delete.py
  70. +0 −203 tests/delete_test.py
  71. +302 −291 tests/delta.py
  72. +94 −21 tests/exclude.py
  73. +112 −39 tests/expected/option_help.out
  74. +1 −1 tests/expected/option_version.out
  75. +2,549 −0 tests/external.py
  76. +279 −62 tests/false_positive.py
  77. +919 −313 tests/helpers/ptrack_helpers.py
  78. +1,990 −0 tests/incr_restore.py
  79. +72 −14 tests/{init_test.py → init.py}
  80. +540 −0 tests/locking.py
  81. +302 −0 tests/logging.py
  82. +2,425 −220 tests/merge.py
  83. +50 −40 tests/{option_test.py → option.py}
  84. +946 −76 tests/page.py
  85. +193 −0 tests/pgpro2068.py
  86. +67 −35 tests/pgpro560.py
  87. +8 −9 tests/pgpro589.py
  88. +2,991 −457 tests/ptrack.py
  89. +0 −253 tests/ptrack_clean.py
  90. +0 −268 tests/ptrack_cluster.py
  91. +0 −57 tests/ptrack_move_to_tablespace.py
  92. +0 −58 tests/ptrack_recovery.py
  93. +0 −130 tests/ptrack_truncate.py
  94. +0 −152 tests/ptrack_vacuum.py
  95. +0 −136 tests/ptrack_vacuum_bits_frozen.py
  96. +0 −67 tests/ptrack_vacuum_bits_visibility.py
  97. +0 −140 tests/ptrack_vacuum_full.py
  98. +0 −142 tests/ptrack_vacuum_truncate.py
  99. +50 −0 tests/remote.py
  100. +1,341 −60 tests/replica.py
  101. +3,411 −0 tests/restore.py
  102. +0 −1,243 tests/restore_test.py
  103. +2,537 −0 tests/retention.py
  104. +0 −178 tests/retention_test.py
  105. +476 −0 tests/set_backup.py
  106. +540 −0 tests/show.py
  107. +0 −203 tests/show_test.py
  108. +60 −0 tests/snapfs.py
  109. +74 −0 tests/time_stamp.py
  110. +3,979 −0 tests/validate.py
  111. +0 −1,730 tests/validate_test.py
  112. +28 −0 travis/Dockerfile.in
  113. +1 −1 travis/backup_restore.sh
  114. +2 −0 travis/docker-compose.yml
  115. +25 −0 travis/make_dockerfile.sh
  116. +80 −0 travis/run_tests.sh
  117. +0 −240 win32build.pl
  118. +0 −240 win32build96.pl
  119. +0 −219 win32build_2.pl
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -33,6 +33,7 @@
/tests/helpers/*pyc

# Extra files
/src/pg_crc.c
/src/datapagemap.c
/src/datapagemap.h
/src/logging.h
@@ -43,3 +44,18 @@
/src/xlogreader.c
/src/walmethods.c
/src/walmethods.h
/src/instr_time.h

# Doc files
/doc/*html

# Docker files
/docker-compose.yml
/Dockerfile
/Dockerfile.in
/run_tests.sh
/make_dockerfile.sh
/backup_restore.sh

# Misc
.python-version
46 changes: 43 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,47 @@
sudo: required
os: linux

dist: bionic

language: c

services:
- docker
- docker

before_install:
- cp travis/* .

install:
- ./make_dockerfile.sh
- docker-compose build

script:
- docker run -v $(pwd):/tests --rm centos:7 /tests/travis/backup_restore.sh
- docker-compose run tests
# - docker-compose run $(bash <(curl -s https://codecov.io/env)) tests
# - docker run -v $(pwd):/tests --rm centos:7 /tests/travis/backup_restore.sh

notifications:
email:
on_success: change
on_failure: always

# Default MODE is basic, i.e. all tests with PG_PROBACKUP_TEST_BASIC=ON
env:
- PG_VERSION=12 PG_BRANCH=REL_12_STABLE
- PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=archive
- PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=backup
- PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=compression
- PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=delta
- PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=locking
- PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=merge
- PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=page
- PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=replica
- PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=retention
- PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=restore
- PG_VERSION=11 PG_BRANCH=REL_11_STABLE
- PG_VERSION=10 PG_BRANCH=REL_10_STABLE
- PG_VERSION=9.6 PG_BRANCH=REL9_6_STABLE
- PG_VERSION=9.5 PG_BRANCH=REL9_5_STABLE

jobs:
allow_failures:
- if: env(MODE) IN (archive, backup, delta, locking, merge, replica, retention, restore)
29 changes: 0 additions & 29 deletions COPYRIGHT

This file was deleted.

Loading