1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-04 10:44:46 +02:00
Commit Graph

339 Commits

Author SHA1 Message Date
Arthur Zakirov
8f8e0ef1be PGPRO-1059: Do not save empty server_version 2017-11-10 12:01:37 +03:00
Arthur Zakirov
d603694b81 PGPRO-1059: Add PG version into show output, save server_version in backup.control 2017-11-09 19:14:39 +03:00
Arthur Zakirov
25117a7edb Revert "PGPRO-1059: Add PG version into show output"
This reverts commit a7826d085d.
2017-11-09 18:24:31 +03:00
Arthur Zakirov
a7826d085d PGPRO-1059: Add PG version into show output 2017-11-09 17:55:13 +03:00
Grigory Smolkin
22cb8c60aa PGPRO-1148 fix; ptrack fix for multiple segments and _ptrack missing cases 2017-11-09 12:47:37 +03:00
Arthur Zakirov
b3ace0e871 Check if password provided by a user is empty 2017-11-02 14:35:31 +03:00
Arthur Zakirov
304122dc64 Fix page and ptrack backup. It is necessary to backup only changed relations 2017-11-01 15:13:02 +03:00
Arthur Zakirov
a4eb925763 Fix do_validate_instance() loop 2017-11-01 14:57:15 +03:00
Arthur Zakirov
f99e93185b Properly clean PGresult 2017-11-01 12:47:28 +03:00
Grigory Smolkin
55e8608b30 fix pg_stop_backup waiting 2017-11-01 12:38:02 +03:00
Grigory Smolkin
43bd813cb5 replication connection fix 2017-11-01 12:37:57 +03:00
Grigory Smolkin
80244158cd SIGINT for password promt 2017-11-01 12:37:49 +03:00
Arthur Zakirov
4c63a7e3e5 Fix posible infinite loop 2017-11-01 11:50:37 +03:00
Arthur Zakirov
50fe7c3783 Allocate password for simple_prompt() for Pg 10 2017-10-31 15:33:36 +03:00
Arthur Zakirov
688747f77c Use proper loop in do_validate_instance() to look for a full backup 2017-10-31 15:07:13 +03:00
Anastasia
3a1d5c430f Version 2.0.10 2017-10-30 15:02:56 +03:00
Grigory Smolkin
9f07c0ccc7 v 2.0.9 2017-10-26 16:04:15 +03:00
Grigory Smolkin
15b457de90 small cfs fixes 2017-10-23 10:21:39 +03:00
Arthur Zakirov
6d4c966187 Instead of palloc's use static strings 2017-10-20 12:40:45 +03:00
Grigory Smolkin
f0939cf33a cfs backup 2017-10-19 13:33:31 +03:00
Arthur Zakirov
4123b76c16 Use POSIX constants for mode_t 2017-10-11 16:43:09 +03:00
Arthur Zakirov
57e7bc4d12 Check ptrack support properly 2017-10-11 16:10:25 +03:00
Anastasia
27a90e847d Version 2.0.8. Stable 2017-10-10 19:10:59 +03:00
Anastasia
dcf516cdbd check if ptrack_version == 1.3 2017-10-10 19:10:03 +03:00
Grigory Smolkin
6dc3c29616 Version 2.0.7 2017-10-09 15:35:46 +03:00
Grigory Smolkin
dcd85e96ed Merge branch 'repprotocol_v1' 2017-10-09 15:29:42 +03:00
Arthur Zakirov
8eda9d444b Fix output of show command 2017-10-06 11:51:57 +03:00
Arthur Zakirov
be71f4a8f9 PGPRO-1026: Store timestamps with timezone, parse timezone from timestamp
from config and command line parameters
2017-10-06 11:42:08 +03:00
Grigory Smolkin
6c2050f1d5 validate ptrack_lsn to InvalidXLogRecPtr 2017-10-05 12:19:36 +03:00
Grigory Smolkin
af99fe4daa ptrack_enable fix 2017-10-05 12:03:42 +03:00
Anastasia
9813471e7b Version 2.0.6 2017-10-04 12:24:53 +03:00
Anastasia
c237774d4d exclude pg_internal.init from backup 2017-10-03 19:19:38 +03:00
Anastasia
25b7a706ba small fixes 2017-10-03 17:57:48 +03:00
Anastasia
990ab6050d Version 2.0.5 2017-10-03 15:57:15 +03:00
Anastasia
fd2019b85a fix incorrect pg_ptrack_clean() call 2017-10-02 21:05:24 +03:00
Anastasia
315cf3bc92 Read value from ptrack_control via function call. Code cleanup 2017-10-02 18:31:46 +03:00
Anastasia
18e49a45f5 fixes for ptrack backup. code cleanup 2017-10-02 00:57:38 +03:00
Anastasia
a8f2b432ce fix template0 backup. Always copy all files of this database 2017-10-01 18:28:39 +03:00
Anastasia
3246875486 code refactoring and fixes for ptrack backup. TODO cleanup debug messages 2017-09-29 20:25:11 +03:00
Anastasia
64939fd328 backup via repprotocol v1. WIP 2017-09-28 17:40:24 +03:00
Anastasia
e47b02018b code cleanup. add more comments 2017-09-28 15:12:12 +03:00
Anastasia
43efdd3da7 code cleanup 2017-09-28 14:39:21 +03:00
Anastasia
04105e8f07 Version 2.0.4 2017-09-28 13:10:03 +03:00
Anastasia
7993488b92 fix ptrack_get_and_clear() for files in pg_global tablespace 2017-09-28 12:42:43 +03:00
Anastasia
1befa474aa fix redundant check in page validation 2017-09-28 12:42:19 +03:00
Anastasia
765524854c do not call calc_checksum for non regular files. add an Assert 2017-09-26 20:13:23 +03:00
Anastasia
a5e8a54d82 do not throw an error if database is not found while performing ptrack backup 2017-09-01 14:59:44 +03:00
Anastasia
a42add54a1 Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2017-09-01 11:52:04 +03:00
Anastasia
25762c2830 add check for interrupt in prompt for password 2017-09-01 11:51:49 +03:00
Arthur Zakirov
b1d81c7248 Issue #18. Make compiler quiet. 2017-09-01 10:57:19 +03:00
Arthur Zakirov
578abf5f40 Version 2.0.3 2017-08-31 21:32:15 +03:00
Arthur Zakirov
36ac5d22cd Do not check config->pgdata in do_archive_push().
We already checked system_identifier.
2017-08-24 12:03:20 +03:00
Arthur Zakirov
0887650a3e Fix logging messages to a stderr 2017-08-22 10:59:38 +03:00
Arthur Zakirov
c21fa15b64 Fix help for --log parameter 2017-08-21 17:08:06 +03:00
Arthur Zakirov
c3c301cdef Initialize stop_socket of StreamCtl struct 2017-08-21 16:36:25 +03:00
Arthur Zakirov
e2ab82fb49 Fix longopts_to_optstring(): use proper length of opts array 2017-08-15 13:18:14 +03:00
Arthur Zakirov
edfad8c496 Use nonprintable characters for options without a short name 2017-08-14 17:30:25 +03:00
Arthur Zakirov
6037abce53 Check archive_command with archive_mode. Do not set dbname for stream connection. 2017-08-14 14:45:59 +03:00
Arthur Zakirov
9b784015db Version 2.0.2 2017-08-11 19:05:36 +03:00
Arthur Zakirov
5ecf9851c9 Use pg_last_wal_replay_lsn and pg_last_wal_receive_lsn for PostgreSQL 10 2017-08-11 18:53:57 +03:00
Arthur Zakirov
bea0469d21 Merge with pgpro-727 2017-08-11 18:46:31 +03:00
Arthur Zakirov
53e4f52033 Merge remote-tracking branch 'origin/pgpro-820' 2017-08-11 18:44:04 +03:00
Arthur Zakirov
e02e09f40b Fix writing to error_log_file without log_file 2017-08-10 16:56:16 +03:00
Arthur Zakirov
7bd80376bd pg_probackup now is built with PostgreSQL 10 2017-08-07 16:23:37 +03:00
Arthur Zakirov
257dd3a2a4 Call pg_switch_wal() for PAGE backup after pg_start_backup() 2017-07-13 16:16:05 +03:00
Arthur Zakirov
7666b597d7 Do not check LSN in wait_wal_lsn for previous segment 2017-07-13 13:37:44 +03:00
Arthur Zakirov
c919c58b5e Wait previous segment for start_lsn 2017-07-13 09:39:00 +03:00
Arthur Zakirov
a5667d3907 Remove pg_switch_wal() 2017-07-12 17:25:39 +03:00
Arthur Zakirov
d6166f0785 Wait for LSN to be replayed after waiting LSN to be archived 2017-07-12 15:33:21 +03:00
Arthur Zakirov
45fc4c32cc Use wait_replica_wal_lsn() in pg_start_backup() and pg_stop_backup() 2017-07-12 15:31:51 +03:00
Arthur Zakirov
a0c7fcdc67 Added wait_replica_wal_lsn() function 2017-07-12 15:31:51 +03:00
Arthur Zakirov
0084441818 Do not check argc for SHOW_CONFIG and SET_CONFIG 2017-07-12 15:31:22 +03:00
Arthur Zakirov
a104e2c970 Call pg_switch_wal() on replica after pg_create_restore_point() during pg_stop_backup() 2017-07-11 13:29:43 +03:00
Arthur Zakirov
9709678473 Fix using uninitialized backup_files_list 2017-07-11 13:18:23 +03:00
Arthur Zakirov
311b7b1934 Added --log parameter, each log entry has timestamp value now 2017-07-10 10:55:40 +03:00
Arthur Zakirov
a8ea8ab5a5 Fix for 3e8ac2896d, improve error messages.
We need call fflush() for buffered IO. Without fflush() fsync() could be useless.
2017-07-06 22:59:47 +03:00
Anastasia
9f91dfc5bb Bunch of small fixes. Version 2.0.1 2017-07-05 17:36:22 +03:00
Anastasia
be95e17fac Version 2.0 2017-07-03 18:09:24 +03:00
Anastasia
385798e753 add --compress shortcut option 2017-07-03 18:06:39 +03:00
Anastasia
03dfb7bc59 minor fix 2017-07-03 17:43:32 +03:00
Anastasia
393afa55e7 fix 2017-07-03 17:22:28 +03:00
Anastasia
6b4c90a25e check file existence in archive-push 2017-07-03 16:15:46 +03:00
Arthur Zakirov
70ff5aaa27 fsync() backup_label, tablespace_map, recovery.conf 2017-06-27 15:41:04 +03:00
Arthur Zakirov
3e8ac2896d fsync() data and WAL files 2017-06-27 15:24:53 +03:00
Anastasia
9c7eae6753 fix exit code 2017-06-26 16:47:24 +03:00
Anastasia
4b58d2e52b fix validate to target in the future 2017-06-26 13:17:12 +03:00
Anastasia
e0596efd85 Version 1.1.17 2017-06-20 17:54:15 +03:00
Anastasia
fd46947329 fix Makefile. TODO fix relative path 2017-06-20 14:12:16 +03:00
Anastasia
5e034a4acc move sources to src/ subdir, update copyright 2017-06-20 12:37:10 +03:00