Victor Spirin
f336db6482
Add include pg_getopt.h
2018-06-14 12:01:18 +03:00
Arthur Zakirov
d3b1127ab3
Remove duplicate help command code
2018-06-09 18:14:47 +03:00
Arthur Zakirov
0afc00439c
Use optind to parse subcommand name
2018-06-09 18:05:18 +03:00
Arthur Zakirov
1304c88ce7
Minor style fixes
2018-06-09 15:45:03 +03:00
Arthur Zakirov
03a3fb8a14
PGPRO-1646: Use int64 for write_size
2018-06-09 15:14:44 +03:00
Arthur Zakirov
1da749aa5e
Default compression level is 1, use NOT_DEFINED_COMPRESS for not defined compression algorithm
2018-06-09 13:55:30 +03:00
Arthur Zakirov
74d9e43774
PGPRO-1646: Use int for write_size instead of size_t
2018-06-09 12:32:40 +03:00
Arthur Zakirov
0a849e882a
Merge master into pg_probackup_windows
2018-06-08 13:34:17 +03:00
Victor Spirin
bd1f5c478c
Some changes after Windows testing
2018-06-08 13:22:39 +03:00
Arthur Zakirov
e36daf5d1d
Merge master into pg_probackup_windows
2018-06-07 19:13:11 +03:00
Arthur Zakirov
8f6fb524fd
Merge branch 'pgpro-533'
2018-06-07 14:55:12 +03:00
Arthur Zakirov
9cd12fbe05
PGPRO-533: Update hellp command
2018-06-07 14:54:25 +03:00
Grigory Smolkin
efc0c8cda3
bugfix: WAL delivery timeout could cause PostgreSQL instance to be left in in_backup state
2018-06-07 12:22:45 +03:00
Arthur Zakirov
c71151d3df
PGPRO-533: Add json format for show-config
2018-06-06 14:07:10 +03:00
Grigory Smolkin
191d5e30e9
tests: json format for show command
2018-06-02 20:35:37 +03:00
Arthur Zakirov
8aa559b17b
PGPRO-533: Reformat json output
2018-06-01 17:26:56 +03:00
Arthur Zakirov
733354c40f
PGPRO-533: Reformat json output, add program-version to backup.control
2018-06-01 17:09:32 +03:00
Arthur Zakirov
6df8c2aaec
PGPRO-533: Replace instance-name by instance, fix typos
2018-05-31 20:31:12 +03:00
Victor Spirin
6832cbbcb9
Replaced the backslash in the path to the backup
2018-05-22 15:55:18 +03:00
Arthur Zakirov
6d709fb51c
Use strcmp() instead of strverscmp()
2018-05-22 14:02:08 +03:00
Arthur Zakirov
ceaa2ce9cd
PGPRO-533: Allow to show backup list in json format
2018-05-21 19:06:12 +03:00
Anastasia
95e038cce7
Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup
2018-05-21 17:38:40 +03:00
Anastasia
0b0a48ff4c
add support of ptrack 1.6
2018-05-21 17:37:59 +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
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 #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