Grigory Smolkin
6b4a793d27
Merge branch 'master' into PGPRO-421
2019-01-15 16:48:52 +03:00
Konstantin Knizhnik
d6908b3538
Fix open file mode
2019-01-15 01:07:48 +03:00
Konstantin Knizhnik
fa146f5da0
Merge with master
2019-01-11 19:08:39 +03:00
Sergey Cherkashin
cf3eaed51a
Value 'none' of parameter 'extra-directory' in pg_probackup.conf
...
is case insensitive now
2019-01-10 16:04:31 +03:00
Sergey Cherkashin
6cc4ecb9b7
Make extra_remap_list an instance of TablespaceList
2019-01-10 15:53:29 +03:00
Arthur Zakirov
d8553c06af
Version 2.0.26
...
- Bugfix: fixed undefined behaviour in case of undefined compression algorithm
- Bugfix: correctly calculate backup size after MERGE
- Bugfix: fixed MERGE of compressed and uncompressed backups
- Bugfix: remove unnecessary remaining files after MERGE
- Bugfix: consider target LSN (--lsn parameter) during validating WAL
- Improvement: check backup program_version during VALIDATE, do not support forward compatibility
- Improvement: improve Windows support
- Improvement: improve support of tablespaces within PGDATA
2019-01-09 15:28:30 +03:00
Arthur Zakirov
687b069f09
Bug fix: Fix for 723c2b01a
2018-12-29 17:13:34 +03:00
Arthur Zakirov
723c2b01a2
Bug fix: Consider target_lsn during validate WAL
2018-12-28 18:46:12 +03:00
Sergey Cherkashin
9463b57990
Add parameter 'extra-directory' to pg_probackup.conf.
...
Minor improvements.
2018-12-27 18:47:15 +03:00
Arthur Zakirov
800ba045f5
No need to check static array backup->program_version to NULL
2018-12-26 15:00:05 +03:00
Grigory Smolkin
02860600d9
bugfix: elog fact of copying file after locking it, not before
2018-12-25 16:44:37 +03:00
Arthur Zakirov
a42895620d
Fix filling and releasing of black_list
2018-12-25 14:29:47 +03:00
Victor Spirin
31830df36d
Added initialization of variable for tablespace renaming
2018-12-25 14:08:15 +03:00
Sergey Cherkashin
4a6f8c515e
Cleanup
2018-12-25 03:11:34 +03:00
Sergey Cherkashin
7213106cfc
Add '--extra-directory' and '-E' options to help.c
2018-12-25 02:43:17 +03:00
Sergey Cherkashin
91c4572bbd
Add extra directories remapping on restore
2018-12-25 02:42:55 +03:00
Arthur Zakirov
9e8d70d51b
Fix handling recursive tablespaces.
...
Earlier it was disabled to have recursive tablespaces. The code was buggy, so fix the code and allow to have such tablespaces.
2018-12-24 20:02:50 +03:00
Sergey Cherkashin
da20711987
Remove 'extradir' field from backup_content.control
2018-12-20 17:58:44 +03:00
Victor Spirin
98c67194a6
Fixed removing directory for the delete command
2018-12-18 19:00:33 +03:00
Arthur Zakirov
d557b40f43
PGPRO-1918: Remove instance-level lock, introduce backup-level lock
2018-12-18 10:49:14 +03:00
Sergey Cherkashin
d59d7e74bc
Merge branch 'master' into PGPRO-421
2018-12-17 20:12:36 +03:00
Anastasia
b99097a71b
pgpro-2065. fix cycle in do_amcheck, remove unused variables and debug messages. TODO: code cleanup, fix exit statuses for threads
2018-12-17 16:03:58 +03:00
Anastasia
ac2236cc3d
pgpro-2065. WIP. refactor code, add snapshot to amcheck. TODO fix eternal cycle in do_amchecl
2018-12-14 20:59:47 +03:00
Arthur Zakirov
53cb7c1dd4
Fix removing files which are not in from_backup file list
2018-12-14 18:41:23 +03:00
Grigory Smolkin
13c4df812e
bugfix: undeclared compress_alg
2018-12-14 16:55:32 +03:00
Sergey Cherkashin
2220b49d6d
Fix merge of extradirectories. Minor improvements.
2018-12-13 21:02:27 +03:00
Konstantin Knizhnik
ae5aa3db73
Implement remove ARCHIVE commands
2018-12-13 18:32:39 +03:00
Konstantin Knizhnik
58373a5e17
Add comments for FIO functions
2018-12-13 18:04:44 +03:00
Anastasia
5401eeb857
pgpro-2065. fix options parsing
2018-12-13 17:13:21 +03:00
Arthur Zakirov
eec11c074c
Fix comment in main()
2018-12-13 17:11:45 +03:00
Anastasia
1654eea349
Merge master into pgpro-2065
2018-12-13 16:44:46 +03:00
Anastasia
5b2cae5e81
pgpro-2065. filter global indexes
2018-12-13 16:20:51 +03:00
Anastasia
65e0ff9565
pgpro-2065. refactor the code, add option --block-validation аfor checkdb command
2018-12-13 14:14:59 +03:00
Konstantin Knizhnik
4c249ee1b5
Send signal to agent in case of parent process exit
2018-12-13 12:50:26 +03:00
Anastasia
ffd4b2f5cf
pgpro-2065. WIP. fix amcheck return status, call amcheck function using correct schema name
2018-12-12 18:19:04 +03:00
Arthur Zakirov
5ad509a40e
Fix comment introduced in 0b05cf0343
2018-12-12 17:52:01 +03:00
Arthur Zakirov
0b05cf0343
Improve comment within on_interrupt()
2018-12-12 17:27:31 +03:00
Anastasia
26c2e066f6
code cleanup. remove obsolete exit_or_abort() function
2018-12-12 17:07:18 +03:00
Arthur Zakirov
23d1a26e02
Fix MERGE of uncompressed with compressed backups
2018-12-12 15:10:25 +03:00
Grigory Smolkin
30cf45816d
check backup version before backup validation, throw an error if backup version > binary version
2018-12-12 00:29:20 +03:00
Anastasia
5f404b5de4
pgpro-2065. fix logging for checkdb command
2018-12-11 17:37:52 +03:00
Arthur Zakirov
350422afe8
Remove BOM marker from configuration.c
2018-12-11 17:33:39 +03:00
Arthur Zakirov
af239aa498
Make compiler happy again
2018-12-11 17:33:39 +03:00
Arthur Zakirov
5a6dcd9d13
Free unnecessary file object
2018-12-11 17:33:39 +03:00
Grigory Smolkin
3d104a1980
bugfix: correctly log cmdline to logfile
2018-12-11 17:33:39 +03:00
Arthur Zakirov
8a36f53aa7
Make compiler happy
2018-12-11 17:32:24 +03:00
Arthur Zakirov
cdb857ca5a
Fix format warnings
2018-12-11 17:32:24 +03:00
Arthur Zakirov
affc01012f
Fix MERGE of compressed and uncompressed backups
2018-12-11 17:32:24 +03:00
Arthur Zakirov
737c97d708
Restore to_backup sizes after copying metadata from from_backup
2018-12-11 17:32:24 +03:00
Konstantin Knizhnik
bda055cf70
Add error message in case of invalid compression algorithm
2018-12-11 17:32:24 +03:00