1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-02-13 14:58:35 +02:00

45 Commits

Author SHA1 Message Date
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
Arthur Zakirov
4c63a7e3e5 Fix posible infinite loop 2017-11-01 11:50:37 +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
dcf516cdbd check if ptrack_version == 1.3 2017-10-10 19:10:03 +03:00
Grigory Smolkin
dcd85e96ed Merge branch 'repprotocol_v1' 2017-10-09 15:29:42 +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
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
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
7993488b92 fix ptrack_get_and_clear() for files in pg_global tablespace 2017-09-28 12:42:43 +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
25762c2830 add check for interrupt in prompt for password 2017-09-01 11:51:49 +03:00
Arthur Zakirov
c3c301cdef Initialize stop_socket of StreamCtl struct 2017-08-21 16:36: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
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
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
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
a8ea8ab5a5 Fix for 3e8ac2896d32781196e58bb59936f53b62e96ff2, 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
Arthur Zakirov
70ff5aaa27 fsync() backup_label, tablespace_map, recovery.conf 2017-06-27 15:41:04 +03:00
Anastasia
5e034a4acc move sources to src/ subdir, update copyright 2017-06-20 12:37:10 +03:00