1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-13 11:53:59 +02:00
Commit Graph

372 Commits

Author SHA1 Message Date
Grigory Smolkin
64262950c3 PGPRO-427: small fix to tests 2018-07-18 09:45:33 +03:00
Grigory Smolkin
b122966a3a PGPRO-427: additional test added 2018-07-18 09:41:45 +03:00
Grigory Smolkin
f0abaf9438 add --no-validate description to help 2018-07-18 09:10:38 +03:00
Grigory Smolkin
5bed18c378 Merge branch 'master' into pgpro-1286-no-validation-restore 2018-07-18 08:41:30 +03:00
Grigory Smolkin
f0864a2d43 tests: replica slow_start() minor change 2018-07-15 16:37:48 +03:00
Grigory Smolkin
b67c0b54c4 add replica flag in slow_start() method 2018-07-14 02:45:17 +03:00
Grigory Smolkin
2a1181ee92 tests: minor fix 2018-07-14 01:17:04 +03:00
Grigory Smolkin
f98c91b3ba tests: add slow_start() method to PostgresNode 2018-07-11 10:50:38 +03:00
Ilya Skvortsov
c81a61208c new no-validate test added 2018-07-09 13:57:10 +03:00
Grigory Smolkin
1b70807d38 tests: fix archive tests 2018-07-06 20:41:49 +03:00
Arthur Zakirov
6e0f5bb68b PGPRO-427: Process blocks change in parallel 2018-06-18 11:47:29 +03:00
Arthur Zakirov
8f6fb524fd Merge branch 'pgpro-533' 2018-06-07 14:55:12 +03:00
Aleksandr Parfenov
93e85cb86e Add --no-validate option for restore command 2018-06-04 11:27:00 +03:00
Grigory Smolkin
191d5e30e9 tests: json format for show command 2018-06-02 20:35:37 +03:00
Grigory Smolkin
e991328779 tests: minor fixes 2018-05-21 17:08:46 +03:00
Grigory Smolkin
d1e4d2b059 tests: add ptrack test for unlogged tables 2018-05-21 13:19:33 +03:00
Grigory Smolkin
c408a0ea47 bump version to 2.0.17 2018-05-03 14:14:55 +03:00
Grigory Smolkin
448597dc5b tests: remove reliance on implicit immediate recovery target action from tests 2018-05-03 14:12:19 +03:00
Grigory Smolkin
f549245281 tests: minor changes for 9.5 2018-05-01 13:41:17 +03:00
Grigory Smolkin
e3685e83b7 tests: minor fixes 2018-04-28 18:49:34 +03:00
Grigory Smolkin
f6b8264005 PGPRO-1376 tests: new test case added 2018-04-25 22:15:05 +03:00
Arthur Zakirov
b7caea5896 PGPRO-1376: Do not copy tablespace files twice 2018-04-24 17:45:30 +03:00
Ilya Skvortsov
4f544e90b7 Update Readme.md 2018-04-23 17:20:46 +03:00
Grigory Smolkin
721ffb7976 tests: minor fix 2018-04-11 23:02:36 +03:00
Grigory Smolkin
b1f9043564 tests: update tests due to recovery target action been set to "pause" 2018-04-11 19:47:19 +03:00
Grigory Smolkin
5f62980cb6 Merge branch 'master' into pgpro_1053_697 2018-04-11 02:25:11 +03:00
Grigory Smolkin
71d41ac29b tests: minor improvements 2018-04-11 02:23:13 +03:00
Grigory Smolkin
bfa3054fe4 tests: minor fix to ptrack tests 2018-04-02 14:59:19 +03:00
Grigory Smolkin
e82ae6d144 tests: test_atexit_fail added 2018-03-26 03:19:09 +03:00
Grigory Smolkin
351ce4afd7 set default recovery target to pause, minor fixes for help, tests coverage 2018-03-23 13:23:17 +03:00
Grigory Smolkin
ff940f69dc testgres 1.6 testgres 2018-03-20 22:30:57 +03:00
Grigory Smolkin
bea0f8ef63 Github Issue 24: check PQresultStatus for pg_stop_backup() 2018-03-19 20:51:01 +03:00
Grigory Smolkin
f685305eed Merge branch 'pgpro-1504' 2018-03-17 01:41:35 +03:00
Grigory Smolkin
541195b597 fix PGPRO-1507: null-sized files were not copied to backup 2018-03-16 11:53:43 +03:00
Grigory Smolkin
1b61ca8299 Merge branch 'pgpro-1457' 2018-03-16 02:26:51 +03:00
Grigory Smolkin
fb88c42a51 PGPRO-1504: test minor fixes 2018-03-15 13:57:17 +03:00
Grigory Smolkin
32b5017d38 PGPRO-1504: during validation attemp to revalidate CORRUPT and ORPHAN backups 2018-03-15 13:34:51 +03:00
Grigory Smolkin
83d2fb3061 PGPRO-1457: minor changes proposed by Arthur Zakirov 2018-03-14 18:36:31 +03:00
Grigory Smolkin
59b5145b1f tests: new page test added, minor fixes for ptrack tests 2018-03-06 17:10:55 +03:00
Grigory Smolkin
e29a5dbe57 PGPRO-1457: new test, minor fixes for tests 2018-03-06 17:08:43 +03:00
Grigory Smolkin
14e1ae264b Merge remote-tracking branch 'origin/master' into pgpro-1457 2018-03-06 16:17:13 +03:00
Grigory Smolkin
9cdded93ac PGPRO-1457: fix DELTA backup not copiying files created by CREATE DATABASE 2018-03-06 16:10:58 +03:00
Grigory Smolkin
0d0802758a tests: minor fixes 2018-03-03 11:42:10 +03:00
Anastasia
76afcee125 Version 2.0.16
- Fix CVE-2018-1058. Use schema name explicitly in all function calls.
- Fix: Handle datafiles in directory global as datafiles.
- Fix: Do not copy ptrack files from directory global to backup anymore.
- Check if --instance is specified for VALIDATE with target parameters
- Adjust README package installation instruction.
2018-03-02 19:26:37 +03:00
Grigory Smolkin
f8f9e47cbf tests: check _ptrack files absense in restored pgdata 2018-03-01 22:25:43 +03:00
Grigory Smolkin
4f7ca55d7e tests: minor fixes 2018-02-28 23:01:22 +03:00
Grigory Smolkin
052329fc85 tests: disable autovacuum in pgdata_compare() tests 2018-02-26 18:34:56 +03:00
Grigory Smolkin
70d7e463bb PGPRO-1457: backup mode DELTA 2018-02-26 17:53:29 +03:00
Sergey Logvinenko
6ed685ac1f fix "TypeError: got <type 'str'> ('Password for user .*:') as pattern, must be one of: <type 'unicode'>, pexpect.EOF, pexpect.TIMEOUT" in auth_test.py 2018-02-26 17:19:04 +03:00
Grigory Smolkin
0ef622f16b tests: fix error message about an extra page in file 2018-02-26 17:05:43 +03:00
Grigory Smolkin
fa9d02e9a3 tests: testgres version in Readme fix 2018-02-14 10:31:30 +03:00
Grigory Smolkin
f9e36ee01e Version 2.0.15
- fix infinite loop in page validation
- fix segfault in parallel ptrack connections
- allow to use delete-wal option wihtout delete-expired(in accordance with documentation)
- allow to use pg_ptrack_get_block if it`s available and page is invalid
- help update
- testgres 1.3 support
- pglz is not thread-safe, do not allow multithread backup with pglz compression
- multiple minor fixes
2018-02-07 07:12:37 +03:00
Grigory Smolkin
760afb60aa tests: fixes for testgres1 2018-01-28 04:36:27 +03:00
Grigory Smolkin
78503f905b Merge remote-tracking branch 'origin/testgres1' 2018-01-27 18:31:19 +03:00
Grigory Smolkin
304ded65b8 tests: minor fix 2018-01-26 18:29:31 +03:00
Grigory Smolkin
5033768e47 tests: PGPRO-1377 2018-01-26 12:52:15 +03:00
Grigory Smolkin
3ddd130baa tests: cfs_backup 2018-01-25 21:39:16 +03:00
Grigory Smolkin
5b43633a9d tests: PGPRO-1184 2018-01-25 21:37:27 +03:00
Grigory Smolkin
fddc927c6e PGPRO-1376: tablespace in pgdata, test added 2018-01-25 19:49:25 +03:00
Grigory Smolkin
1fbea2dc14 tests: minor fix 2018-01-18 18:56:33 +03:00
Grigory Smolkin
9e44d505bc tests: changes to tests.README and minor corrections 2018-01-18 17:15:21 +03:00
Grigory Smolkin
68e2742da0 tests: major fixes 2018-01-18 04:35:27 +03:00
Grigory Smolkin
45923cf9c7 tests: minor fix validate_test 2018-01-17 21:23:57 +03:00
Grigory Smolkin
fb1eb3cd20 tests: minor fixes, backup_test PEP8 2018-01-17 21:15:49 +03:00
Grigory Smolkin
d6a2d36403 tests: minor fixes, new tests for ptrack 2018-01-17 20:51:43 +03:00
Anastasia
c981bf737f Version 2.0.14
- fixed race conditions in ptrack and page backups
- fixed parallel ptrack backup interruption
- added new backup state 'ORPHAN' which means that one of previous backups is corrupted
2018-01-17 10:46:29 +03:00
Grigory Smolkin
3d0fcdf9b0 tests: added test_page_vacuum_truncate 2018-01-16 18:46:55 +03:00
Grigory Smolkin
b2f5ae5727 tests: compare_pgdata now can track extra pages in restored files 2018-01-14 17:32:43 +03:00
sfalkon
3abbc5d6e2 - fix auth_test
- add -W options to case: test_right_password_and_wrong_pgpass
2018-01-12 11:38:32 +03:00
sfalkon
3cfb8e2242 - fix auth_test
- add -W options to case: test_right_password_and_wrong_pgpass
2018-01-12 11:27:33 +03:00
Grigory Smolkin
8d8a70f886 Merge branch 'pgpro-1248' 2018-01-10 21:18:31 +03:00
Grigory Smolkin
1fad089a66 tests: another minor fix 2018-01-10 16:08:25 +03:00
Grigory Smolkin
48017e6410 tests: minor fix 2018-01-10 16:05:26 +03:00
Grigory Smolkin
0de4ec09ab tests: PGPRO-1230 ptrack race condition tests 2018-01-10 16:03:33 +03:00
Grigory Smolkin
f97fab6c89 tests: minor fix 2017-12-28 12:55:32 +03:00
Grigory Smolkin
6ccaed5ccd tests: simple ptrack test 2017-12-28 12:27:40 +03:00
Grigory Smolkin
7bb2177bb8 tests: page_get_block added 2017-12-28 12:02:53 +03:00
Grigory Smolkin
0f85328399 tests: pgdata_compare block-level granularity 2017-12-28 11:52:18 +03:00
Grigory Smolkin
ab59860dc9 tests: minor improvements 2017-12-25 11:28:25 +03:00
Grigory Smolkin
00070a44af tests: gdb class, ptrack test for PGPRO-1230, PEP8 2017-12-22 02:04:59 +03:00
Grigory Smolkin
0ba73d3367 tests: cfs tests skip condition added 2017-12-22 01:39:16 +03:00
Grigory Smolkin
0a073b4c63 tests: new tests for compressed archive, pg_receivexlog support added 2017-12-19 13:18:42 +03:00
Grigory Smolkin
b6f1dd8fbe PGPRO-1248: new status ORPHAN for backup with corrupted parent 2017-12-19 12:56:03 +03:00
Grigory Smolkin
f436888f46 tests: validate fixes 2017-12-14 21:33:48 +03:00
Grigory Smolkin
c6c8d93945 test: archive compression small fix 2017-12-14 00:39:19 +03:00
Grigory Smolkin
17c1b317ca tests: archive compression 2017-12-14 00:29:39 +03:00
Grigory Smolkin
277e4101d8 tests: fixes 2017-12-13 11:15:42 +03:00
s.logvinenko
6174a863ce fix auth_test for testgres 0.4.0 2017-12-11 15:31:16 +03:00
Grigory Smolkin
dc6b127a25 tests: check that pg_probackup behave correctly when encountering page corruption in PostgreSQL 2017-12-08 16:11:21 +03:00
s.logvinenko
d46161521e fix auth_test 2017-12-06 17:57:05 +03:00
s.logvinenko
cdc3d240af fix auth_test 2017-12-06 16:26:30 +03:00
s.logvinenko
90e8c80473 add new test case 2017-12-06 11:06:44 +03:00
s.logvinenko
f01fd61ed7 add new test case 2017-12-06 10:37:03 +03:00
s.logvinenko
71590bf7f3 add new test case 2017-12-06 10:32:30 +03:00
s.logvinenko
7beae32358 fix auth_test
fix unsetenv
2017-12-06 10:23:59 +03:00
s.logvinenko
6b23657666 fix auth_test
fix unsetenv
2017-12-06 10:22:05 +03:00
sfalkon
45d38d6130 fix auth_test 2017-12-05 22:46:47 +03:00
sfalkon
942b2df4a9 fix auth_test 2017-12-05 20:45:44 +03:00
sfalkon
3f650ed2f1 fix auth_test 2017-12-05 20:13:41 +03:00
sfalkon
d86778dc84 fix auth_test
fix file mode
2017-12-05 17:47:44 +03:00
sfalkon
25267975a8 fix auth_test
fix file mode
2017-12-05 17:40:11 +03:00
sfalkon
d8953f580a fix auth_test 2017-12-05 17:38:00 +03:00
sfalkon
065fb0e539 fix port int to string 2017-12-05 17:28:00 +03:00
sfalkon
6cf129546d fix ptrack_helper 2017-12-05 17:25:43 +03:00
sfalkon
32d9b7abdf add tests in auth_test 2017-12-05 17:08:38 +03:00
s.logvinenko
c36a0ff5c5 Merge branch 'master' of https://git.postgrespro.ru/pgpro-dev/pg_probackup into testgres1
Conflicts:
	tests/auth_test.py
	tests/helpers/ptrack_helpers.py
	tests/ptrack.py
2017-12-04 18:04:03 +03:00
s.logvinenko
edc1b31ffd Add auth_test. Test pg_probackup with user authentification. 2017-12-04 17:42:18 +03:00
s.logvinenko
3e290f0a16 fix auth_test 2017-12-04 17:17:49 +03:00
s.logvinenko
7e08ca7029 fix auth_test 2017-12-04 15:40:31 +03:00
sfalkon
df6e586b54 fix auth_test 2017-11-30 16:39:52 +03:00
Grigory Smolkin
b4c56bf21c Version 2.0.13
- Do not include not changed relations into the PAGE backup
    - Correct procedure of obtaining backup_label and tablespace_map via SQL for exclusive backups
    - Do PTRACK backups only for ptrack_version >= 1.4
2017-11-30 14:56:59 +03:00
sfalkon
89e3d113d7 fix auth_test 2017-11-30 13:49:27 +03:00
sfalkon
733704ae24 fix auth_test 2017-11-30 13:48:25 +03:00
sfalkon
462ce33f45 fix auth_test 2017-11-30 13:41:26 +03:00
Grigory Smolkin
b269c84238 tests: new module "exclude.py" and minor fixes 2017-11-30 09:14:46 +03:00
s.logvinenko
bdeff4029d fix auth_test 2017-11-29 18:21:18 +03:00
s.logvinenko
822020998e fix auth_test 2017-11-29 17:59:18 +03:00
s.logvinenko
c09e805697 fix auth_test 2017-11-29 11:48:26 +03:00
sfalkon
a2b802ca8f fix auth_test 2017-11-28 17:04:18 +03:00
sfalkon
00cf6d58c1 fix auth_test 2017-11-28 16:29:06 +03:00
sfalkon
9079a2b253 add auth_test 2017-11-28 15:03:47 +03:00
Anastasia
fae522df4a Version 2.0.12
- Do not include unlogged relations into the backup.
- Use exclusive backup for PTRACK backups.
- Do not throw an error if the file was truncated during backup.
2017-11-23 11:28:04 +03:00
Anastasia
082612b528 Version 2.0.11.
- Fix password prompt interruption
- Check if the password provided by a user is empty
- Fix incremental backups: do not include into backup files, that didn't changed since previous backup.
- Add PG version into backup meta infromation
2017-11-10 17:40:30 +03:00
Grigory Smolkin
39aa89acb7 new tests for ptrack 2017-11-09 12:45:04 +03:00
s.logvinenko
5402d433fc fix archive.py 2017-11-08 18:06:50 +03:00
s.logvinenko
595982a39d fix archive.py 2017-11-08 17:16:50 +03:00
s.logvinenko
2d3c3dbe22 fix archive.py 2017-11-08 16:50:56 +03:00
s.logvinenko
ba828847a5 fux replica.py 2017-11-08 10:55:48 +03:00
sfalkon
0aeb9d26ec fix ptrack 2017-11-07 17:50:35 +03:00
sfalkon
ea85c50230 fix ptrack 2017-11-07 17:47:38 +03:00
sfalkon
3ba30a9742 fix ptrack 2017-11-07 17:19:22 +03:00
sfalkon
6f4d2f60e1 fix ptrack 2017-11-07 17:13:20 +03:00
sfalkon
31fbb85a89 fix ptrack 2017-11-07 15:18:23 +03:00
sfalkon
1091662479 fix ptrack 2017-11-07 14:51:29 +03:00
sfalkon
f7052186c2 fix ptrack 2017-11-07 14:38:59 +03:00
sfalkon
6dd6646c82 fix ptrack 2017-11-07 14:38:14 +03:00
sfalkon
1c0c685507 fix ptrack 2017-11-07 14:35:46 +03:00
sfalkon
5d883b1a08 fix ptrack 2017-11-07 14:04:02 +03:00
sfalkon
edfaed698d fix ptrack 2017-11-07 13:59:22 +03:00
sfalkon
7323456b0d fix ptrack 2017-11-07 13:57:42 +03:00
sfalkon
9804672a10 fix ptrack 2017-11-07 13:52:00 +03:00
sfalkon
855e5afab4 fix ptrack 2017-11-07 13:13:09 +03:00
sfalkon
f9365e646a fix ptrack 2017-11-07 12:34:20 +03:00
sfalkon
b3277af776 fix ptrack 2017-11-07 12:23:52 +03:00
sfalkon
f8a4e65749 fix ptrack 2017-11-07 11:52:56 +03:00
sfalkon
e51200032e fix ptrack 2017-11-07 11:51:09 +03:00
sfalkon
72aa1592c3 Merge branch 'master' of https://git.postgrespro.ru/pgpro-dev/pg_probackup into testgres1 2017-11-07 11:42:54 +03:00
Grigory Smolkin
fa0a9621de tests: test_relation_with_multiple_segments expanded, get_md5_per_page_for_fork expanded 2017-11-07 09:40:13 +03:00
sfalkon
fae8440578 fix ptrack 2017-11-03 17:52:32 +03:00
sfalkon
f7ab3e5bca fix ptrack 2017-11-03 17:49:01 +03:00