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

1177 Commits

Author SHA1 Message Date
Arthur Zakirov
37ced690ad Fix gcc warning messages 2018-05-16 10:12:16 +03:00
Arthur Zakirov
d8005d5496 PGPRO-1290: Check connected server version with build version 2018-05-16 10:00:49 +03:00
Victor Spirin
ac98fefc6e change mode for fopen w->PG_BINARY_W, r->PG_BINARY_R 2018-05-11 18:17:54 +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
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
Victor Spirin
83d64c5b9d Function pg_atomic_test_set_flag returns true if the flag has successfully been set, false otherwise 2018-04-26 15:23:50 +03:00
Victor Spirin
9a1e5ba044 Function pg_atomic_test_set_flag returns true if the flag has successfully been set, false otherwise 2018-04-26 15:02:03 +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 : 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
Victor Spirin
03412d766f Add build script and project template for the 9.6 version 2018-04-24 12:59:25 +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
e7665c1d50 Arthur Zakirov: fopen() in binary mode 2018-04-10 18:44:51 +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
VictorSpirin
7e8cffb23f some changes 2018-03-22 18:22:23 +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
VictorSpirin
d0092bb3c9 changes in the parsing command line options 2018-03-20 11:15:53 +03:00