1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-02-10 14:37:03 +02:00

262 Commits

Author SHA1 Message Date
Grigory Smolkin
bdb47b744f minor changes to elevel of certain messages 2017-12-08 16:24:35 +03:00
Grigory Smolkin
61d57b63db ptrack minor optimization 2017-12-08 16:22:06 +03:00
Arthur Zakirov
ccdb4d748b Merge branch 'pgpro-584' 2017-11-30 15:51:46 +03:00
Arthur Zakirov
3f0efe4c8f Use pg_stat_file() with pg_read_file() 2017-11-30 15:49:48 +03:00
Grigory Smolkin
b16dd21617 PGPRO-1189: fix for exclusive mode for backup from replica 2017-11-29 23:03:12 +03:00
Grigory Smolkin
a7bc86211c PGPRO-1189: for exclusive backups get backup_label and tablespace_map via SQL 2017-11-29 12:51:43 +03:00
Anastasia
b5a70fcfd9 check if ptrack_version == 1.4 2017-11-24 14:26:23 +03:00
Grigory Smolkin
5534b107a0 minor changes to log messages 2017-11-22 17:04:46 +03:00
Arthur Zakirov
a1eeef782e PGPRO-584: Parse unit name of configuration parameters 2017-11-21 19:50:06 +03:00
Arthur Zakirov
a00fdafcec Use exclusive backup for PTRACK backups 2017-11-21 15:51:45 +03:00
Arthur Zakirov
1b9c8c943d PGPRO-584: Add additional message for log file.
Message is added only during backup.
2017-11-15 19:21:30 +03:00
Anastasia
e85e45938c Do not backup files of the unlogged relations (only leave _init fork) 2017-11-13 18:52:09 +03:00
Anastasia
a40d0e3702 code cleanup for 22cb8c60aa381f05804733933d72d18f476c15e5 2017-11-10 14:13:44 +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
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
304122dc64 Fix page and ptrack backup. It is necessary to backup only changed relations 2017-11-01 15:13:02 +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
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