1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-26 11:54:25 +02:00

1197 Commits

Author SHA1 Message Date
Grigory Smolkin
8fa0bbc369 minor improvement of messages for restore 2019-07-19 11:01:01 +03:00
Grigory Smolkin
884da1cec7 comments minor changes 2019-07-18 15:44:20 +03:00
Grigory Smolkin
221b7759c0 minor improvement: alwys open ssh connection with option 'PasswordAuthentication=no' 2019-07-18 15:42:47 +03:00
Grigory Smolkin
14514a4815 minor improvement: be more paranoid about system ID mismatch when streaming or reading WAL files. Replace RunIdentifySystem() with IdentifySystem() for logging purposes 2019-07-15 19:39:12 +03:00
Grigory Smolkin
0515c2b4dd minor improvement: NodeInfo is now separate variable and not the element of pgBackup structure 2019-07-15 19:20:39 +03:00
Grigory Smolkin
a466eea901 minor bugfix: in asynchronous execution of pg_stop_backup() was small risk of ignoring server side error. Reported by Alex Ignatov alexign@ozon.ru 2019-07-15 15:11:11 +03:00
Grigory Smolkin
66618d0142 minor fix 2019-07-14 03:07:15 +03:00
Grigory Smolkin
3d9bb1b076 minor change of elevel 2019-07-11 12:31:38 +03:00
Grigory Smolkin
6273f80e50 minor improvement: use slurpFile instead fetchFile, because fetchFile is relying on pg_read_binary_file(), which is insecure and redundant 2019-07-11 02:26:00 +03:00
Grigory Smolkin
c3ebbec953 correct flag for recovery.conf creation 2019-07-08 02:40:20 +03:00
Grigory Smolkin
549d66a29c checkdb: escape database name in amcheck related elog messages 2019-07-07 17:34:12 +03:00
Grigory Smolkin
a7f11405ff correctly open recovery.conf 2019-07-07 17:33:10 +03:00
Grigory Smolkin
fd91652576 [Issue #92] Improvements pointed out by review 2019-07-06 04:00:45 +03:00
Grigory Smolkin
4db8821022 Merge branch 'master' into issue_92 2019-07-06 03:26:45 +03:00
Grigory Smolkin
2a78020243 checkdb bugfixes: query to select indexes not from "pg_global" tablespace was incorrect, also index namespace used in "--progress" and WARNING messages was incorrect 2019-07-06 03:22:27 +03:00
Grigory Smolkin
9f8df3faa3 [Issue #90] minor changes 2019-07-05 00:01:03 +03:00
Grigory Smolkin
9b5f9b8c99 [Issue #90] Refactoring 2019-07-04 22:51:07 +03:00
Grigory Smolkin
080988bbda Merge branch 'master' into issue_90 2019-07-04 19:35:02 +03:00
Grigory Smolkin
71545d6cd0 Merge branch 'master' into issue_92 2019-07-04 01:49:07 +03:00
Grigory Smolkin
57da2e5b38 rename "omit_symlink" flag to follow_symlink 2019-07-04 01:46:45 +03:00
Grigory Smolkin
3b97c4f4cd minor bugfix: del-instance was failing due to presense of .history files in archive directory 2019-07-04 01:44:14 +03:00
Grigory Smolkin
74b25e4383 Revert "Decompress restored file by remote agent"
This reverts commit 3873318eec4bf817a782d9ff879370d0a1ccdb5e.
2019-07-04 01:33:59 +03:00
Konstantin Knizhnik
de38db4deb Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2019-07-03 23:22:57 +03:00
Konstantin Knizhnik
3873318eec Decompress restored file by remote agent 2019-07-03 23:22:48 +03:00
Grigory Smolkin
eac3d8a1d0 Merge branch 'master' into issue_92 2019-07-03 21:11:39 +03:00
Grigory Smolkin
e1880c57c6 minor bugfix: close ssh connection when it is not needed anymore 2019-07-03 18:09:00 +03:00
Grigory Smolkin
61b733b0b7 Merge branch 'master' of https://git.postgrespro.ru/pgpro-dev/pg_probackup 2019-07-03 00:06:58 +03:00
Konstantin Knizhnik
da8bf6de29 Make child_pid variable thread local 2019-07-03 00:06:00 +03:00
Grigory Smolkin
3b7fb5d4ed minor bugfix: close ssh connection when it is not needed 2019-07-02 20:04:04 +03:00
Konstantin Knizhnik
d57b65fa87 Wait for ssh process completion in fio_disconnect 2019-07-02 16:49:38 +03:00
Konstantin Knizhnik
abfb2b56f5 Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2019-07-01 22:35:17 +03:00
Konstantin Knizhnik
3eed6718b0 Add fio_dsconnect function 2019-07-01 22:35:10 +03:00
Grigory Smolkin
ffa63a2e2a Merge branch 'master' into issue_92 2019-06-28 12:51:47 +03:00
Grigory Smolkin
79f940ff75 checkdb: don`t close descriptor if file size is not aligned BLCKSZ 2019-06-28 12:47:13 +03:00
Konstantin Knizhnik
5f840ba436 Fix passing error in fio_send_pages 2019-06-28 10:09:03 +03:00
Grigory Smolkin
c069399f41 Merge branch 'master' into issue_92 2019-06-28 01:16:46 +03:00
Grigory Smolkin
eb2a397a01 tests: minor fixes for corruption detection 2019-06-28 01:16:10 +03:00
Grigory Smolkin
a5eb8db914 [Issue #92] Refactoring of catalog_get_last_data_backup(). First we look for latest valid FULL backup, he is the chain ancestor. Then latest valid child of chain ancestor becomes the parent of current backup. 2019-06-27 19:43:03 +03:00
Grigory Smolkin
4217bc2c22 [Issue #92] Overlapping chains and retention redundancy 2019-06-27 13:09:42 +03:00
Grigory Smolkin
5c09b69d22 minor improvement: use unsigned instead of float for backup time window 2019-06-21 17:46:53 +03:00
Grigory Smolkin
842f7bcc7b add "--help" option to all commands in help_pg_probackup() 2019-06-21 15:13:32 +03:00
Grigory Smolkin
b1413d5d60 bugfix: during backup do not close file if file size is not the mulptiple of BLCKSZ 2019-06-20 18:57:47 +03:00
Konstantin Knizhnik
835b5e4185 Fix returning errno in remote backup 2019-06-20 18:39:11 +03:00
Grigory Smolkin
e28e34c6e8 minor fix: report correct remote mode if remote-host is not NULL and remote-proto is "none" 2019-06-20 18:20:09 +03:00
Grigory Smolkin
6a3581ceec minor fix: report correct remote mode if remote-host is not NULL and remote-proto is "none" 2019-06-20 18:19:38 +03:00
Grigory Smolkin
fd30ae28b3 [Issue #90] Remove stale .partial WAL files 2019-06-20 16:41:04 +03:00
Arthur Zakirov
e163c4504c Rename dubious pg_probackup variable into PROGRAM_NAME_FULL 2019-06-20 11:48:06 +03:00
Konstantin Knizhnik
68d6b3b3f0 Correctly handle spaces in path for remote backup 2019-06-19 19:43:43 +03:00
Arthur Zakirov
04d396dc7c Fix error message during files merging 2019-06-19 17:37:35 +03:00
Grigory Smolkin
2e20bd28fe minor fix: wrong order of arguments in elog() messages about unexpected file checksumm and file size 2019-06-19 15:31:52 +03:00