Grigory Smolkin
448597dc5b
tests: remove reliance on implicit immediate recovery target action from tests
2018-05-03 14:12:19 +03:00
Grigory Smolkin
93640d2825
Remove implicit immediate restore target when none other is provided. All restore target should be explicit
2018-05-01 13:47:01 +03:00
Grigory Smolkin
f549245281
tests: minor changes for 9.5
2018-05-01 13:41:17 +03:00
Arthur Zakirov
46d0db2063
Fix building for pg9.5
2018-04-29 19:48:49 +03:00
Grigory Smolkin
a8643740bc
Version 2.0.17
...
- Fix: correct handling for tablespaces located in PGDATA
- Fix: avoid deadlock in log file opening
- Fix: check PQresultStatus for pg_stop_backup()
- Fix: null-sized files were not copied to backup
- Impromevent: correct thread exit
- Impromevent: correct message about start/stop WAL streaming
- Impromevent: revalidation of CORRUPT and ORPHAN backups is now possible via 'validate' command
- New backup options:
'-b DELTA' - new incremental backup mode;
- New restore options:
'--immediate' - end recovery as soon as a consistent state is reached;
'--recovery-target-name=pause|promote|shutdown' - an action the PostgreSQL should take at the end of the recovery, default is 'pause';
'--recovery-target-name=target-name' - the named restore point to which recovery will proceed;
'-R (--write-recovery-conf)' - write a minimal recovery.conf in the output directory, to ease setting up a standby server;
- Adjust README
2018-04-29 04:42:38 +03:00
Arthur Zakirov
880ef9f70b
Parse pg_ptrack_get_and_clear_db() result correctly
2018-04-28 23:51:51 +03:00
Grigory Smolkin
e3685e83b7
tests: minor fixes
2018-04-28 18:49:34 +03:00
Grigory Smolkin
def0ac28ed
Merge branch 'pgpro-1376'
2018-04-28 18:46:28 +03:00
Arthur Zakirov
3b3e55b267
PGPRO-1376: Remove continue
2018-04-28 12:17:58 +03:00
Arthur Zakirov
0f768dc35f
PGPRO-1376: Backup _init forks
2018-04-28 11:44:45 +03:00
Arthur Zakirov
42e040d287
PGPRO-1376: Do not include ptrack_init file in backup
2018-04-28 01:03:22 +03:00
Arthur Zakirov
74822dd3ae
PGPRO-1376: Do not mark fork files as datafile
2018-04-27 17:12:29 +03:00
Grigory Smolkin
8371dbfe19
minor fix to error messages about unexpected page size
2018-04-27 16:51:17 +03:00
Arthur Zakirov
a6aea8663d
Fix deadlock: properly unset loggin_in_progress
2018-04-27 12:49:21 +03:00
Arthur Zakirov
b1b1b1451a
Fix deadlock: unlock before pthread_exit()
2018-04-26 16:30:52 +03:00
Grigory Smolkin
f6b8264005
PGPRO-1376 tests: new test case added
2018-04-25 22:15:05 +03:00
Grigory Smolkin
f133f29999
Merge branch 'master' into pgpro-1376
2018-04-25 19:14:57 +03:00
Arthur Zakirov
a67e2c065c
Issue #26 : Lock mutex accurately, the approach wasnt thread safe
2018-04-25 17:24:24 +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
5c3acb6b89
Merge branch 'pgpro_1053_697'
2018-04-11 19:48:08 +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
Arthur Zakirov
e15469891f
Initialize main_tid before any elog() calls
2018-04-11 12:07:31 +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
Arthur Zakirov
45988aae68
Make replication connection outside StreamLog()
2018-04-10 19:02:00 +03:00
Arthur Zakirov
ad083f827b
PGPRO-1311: Fix for PostgreSQL 9.6
2018-04-09 00:10:52 +03:00
Arthur Zakirov
2e436111ec
PGPRO-1311: Do not call exit() for thread, use pthread_exit() instead
2018-04-05 18:58:40 +03:00
Arthur Zakirov
f25ae416a7
Remove Assert() in StreamLog()
2018-04-05 14:09:37 +03:00
Arthur Zakirov
055daf7a35
Show finished streaming WAL message correctly
2018-04-04 17:06:50 +03:00
Arthur Zakirov
834d64b30c
Fix wrong message for finished segment, add finished streaming message
2018-04-04 12:40:35 +03:00
Grigory Smolkin
85adfcb9aa
bugfix: initialize log_file_level after reading config, not before
2018-04-03 22:10:10 +03:00
Grigory Smolkin
bfa3054fe4
tests: minor fix to ptrack tests
2018-04-02 14:59:19 +03:00
Grigory Smolkin
c90210910b
minor fixes and changes to elog messages
2018-03-26 19:50:49 +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
Arthur Zakirov
73eb5f266f
Make compiler happy
2018-03-20 17:09:57 +03:00
Anastasia
c8147f7289
Add more recovery options for restore/validate:
...
--immediate - end recovery as soon as a consistent state is reached;
--recovery-target-name=target-name -
set the named restore point to which recovery will proceed;
--recovery-target-action=pause|promote|shutdown -
set the action the server should take once the recovery target is reached.
Add restore option -R (--write-recovery-conf) -
write a minimal recovery.conf in the output directory,
to ease setting up a standby server.
2018-03-20 15:49:43 +03:00
Grigory Smolkin
bea0f8ef63
Github Issue 24: check PQresultStatus for pg_stop_backup()
2018-03-19 20:51:01 +03:00
Grigory Smolkin
3b45f96318
Readme: update ptrack links to ptrack v1.5
2018-03-19 15:12:52 +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
e492b4e0d2
PGPRO-1457: note about DELTA mode in README
2018-03-15 19:00:00 +03:00
Grigory Smolkin
fb88c42a51
PGPRO-1504: test minor fixes
2018-03-15 13:57:17 +03:00
Grigory Smolkin
f960c67db4
PGPRO-1504: minor changes to comments
2018-03-15 13:43:11 +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