Victor Spirin
0a510f7211
Some fixes for windows build
2018-11-13 13:11:26 +03:00
Arthur Zakirov
1e9615f567
Use InvalidXLogRecPtr to mark infinite end, a couple code cleanup
2018-11-12 15:44:22 +03:00
Grigory Smolkin
644c4bd9fb
Merge remote-tracking branch 'origin/pgpro-1892-2'
2018-11-11 22:08:55 +03:00
Arthur Zakirov
88354a8dde
PGPRO-1892: Continue failed merge command
2018-11-10 23:56:15 +03:00
Grigory Smolkin
5b41a106b7
Merge branch 'pgpro-2095'
2018-11-10 21:16:42 +03:00
Grigory Smolkin
6c9dfcfe82
PGPRO-2095: use latest replayed lsn instead of STOP LSN
2018-11-07 04:21:56 +03:00
Arthur Zakirov
3769efdcb2
Update copyrights and rename COPYRIGHT to LICENSE
2018-11-02 15:08:33 +03:00
Grigory Smolkin
d29aa8b0b4
PGPRO-2095: backup from replica without connection to master for PostgreSQL >= 9.6
2018-10-31 09:47:53 +03:00
Anna
bf1c8797ae
Make pg_probackup support ptrack 1.7
2018-10-30 16:21:38 +03:00
Arthur Zakirov
b065f09cf3
Release PGresult after query execution in pg_ptrack_clear()
2018-10-29 19:19:08 +03:00
Arthur Zakirov
23cf692428
PGPRO-2096: Use CRC-32 instead of CRC-32C
...
Using CRC-32C to calculate checksum of pg_control gives same value for different backups.
It might be because pg_control stores its content plus checksum of the content.
2018-10-26 17:49:39 +03:00
Arthur Zakirov
535409291f
pg_probackup.h move up
2018-10-18 15:43:30 +03:00
Arthur Zakirov
0b2e0469ac
PGPRO-2073: Write program-version only during backup
2018-10-16 18:28:00 +03:00
Arthur Zakirov
5d1f680c48
PGPRO-2073: Save only status if we dont do backup
2018-10-16 12:11:59 +03:00
Arthur Zakirov
720897880a
Include catalog/catalog.h for pre PG 11
2018-10-15 17:26:06 +03:00
Arthur Zakirov
2f3ebb499b
Include common/relpath.h
2018-10-15 17:21:39 +03:00
Arthur Zakirov
2df3953d55
Refactoring of includes and unused code
2018-10-15 15:44:39 +03:00
Arthur
cf88637be3
Merge pull request #33 from CherkashinSergey/skip_unchanged_files
...
Skip unchanged files
2018-10-11 14:41:42 +03:00
Sergey Cherkashin
b36a6c1201
Skip backup of unchanged files
2018-10-10 19:13:17 +03:00
Arthur Zakirov
7ed8014071
Bug fix. Fix incorrect behaviour of parse_backup_filelist_filenames(), we should use strlen()
2018-10-09 17:42:53 +03:00
Arthur Zakirov
78adfdfa3b
Port to PostgreSQL 11
2018-10-09 12:52:29 +03:00
Arthur Zakirov
517939d119
PGPRO-2040: Use checkpoint LSN to retreive start_lsn for a replica backup
2018-10-08 16:39:11 +03:00
Arthur Zakirov
a8b5e540d4
Bug fix: Get restore_lsn from pg_create_restore_point result
2018-09-21 14:21:43 +03:00
Grigory Smolkin
f0260183c2
minor elevel change for messages about transfering data files
2018-09-17 18:27:20 +03:00
Arthur Zakirov
0a89f702e3
Issue #32 : Wait for LSN in archived dir for PAGE backup
2018-09-04 14:08:50 +03:00
Grigory Smolkin
0de51e579c
remove prev_seg flag from extractPageMap(), make doExtractPageMap() more greedy
2018-08-16 09:23:02 +03:00
Arthur Zakirov
6e59b6267d
Fix various compile time typos
2018-08-08 17:30:48 +03:00
Arthur Zakirov
c094151b91
Remove FATAL, PANIC log levels
2018-08-07 13:28:02 +03:00
Anastasia
68060e7dda
fix race in make_pagemap_from_ptrack() for segments created after we've read ptrack
2018-08-03 13:25:00 +03:00
Arthur Zakirov
92b7cc912d
PGPRO-1290: Fix a typo in check_server_version()
2018-08-02 13:48:29 +03:00
Arthur Zakirov
4ed28cf6e5
PGPRO-1449: Add MERGE command: merge PAGE with FULL backup
2018-08-02 11:57:39 +03:00
Arthur Zakirov
ee3ce85235
PGPRO-427: Merge with master
2018-07-19 12:15:06 +03:00
Arthur Zakirov
4c3a86f3b0
Fix bug: count CRC for data not for pointer
2018-07-18 19:44:11 +03:00
Arthur Zakirov
059d3845cb
Issue #31 : Times in backup.control is in UTC by default
2018-07-16 15:18:08 +03:00
Arthur Zakirov
188bb11196
Revert "Issue #31 : Use UTC time to make backup ID"
...
This reverts commit 4877f6b5d48842e6f9ead7f42431225d451fcdef.
2018-07-16 15:02:50 +03:00
Arthur Zakirov
4877f6b5d4
Issue #31 : Use UTC time to make backup ID
2018-07-16 14:22:54 +03:00
Arthur Zakirov
7f87c1cebe
Add pagemap_isabsent instead of PageBitmapIsAbsent define
2018-06-29 14:01:08 +03:00
Arthur Zakirov
6e0f5bb68b
PGPRO-427: Process blocks change in parallel
2018-06-18 11:47:29 +03:00
Arthur Zakirov
b97e9e8e29
PGPRO-427: Put in order thread arguments
2018-06-15 11:40:13 +03:00
Arthur Zakirov
a3b9d1ebbb
PGPRO-427: Add lock for datapagemap_add
2018-06-15 11:40:13 +03:00
Arthur Zakirov
70257b371f
PGPRO-427: Remove unnecessary sorts, add binary search
2018-06-15 11:40:13 +03:00
Arthur Zakirov
6a95d7cf75
PGPRO-427: A little optimization in process_block_change()
2018-06-15 11:40:13 +03:00
Arthur Zakirov
1304c88ce7
Minor style fixes
2018-06-09 15:45:03 +03:00
Arthur Zakirov
03a3fb8a14
PGPRO-1646: Use int64 for write_size
2018-06-09 15:14:44 +03:00
Arthur Zakirov
74d9e43774
PGPRO-1646: Use int for write_size instead of size_t
2018-06-09 12:32:40 +03:00
Arthur Zakirov
e36daf5d1d
Merge master into pg_probackup_windows
2018-06-07 19:13:11 +03:00
Arthur Zakirov
8f6fb524fd
Merge branch 'pgpro-533'
2018-06-07 14:55:12 +03:00
Grigory Smolkin
efc0c8cda3
bugfix: WAL delivery timeout could cause PostgreSQL instance to be left in in_backup state
2018-06-07 12:22:45 +03:00
Arthur Zakirov
6d709fb51c
Use strcmp() instead of strverscmp()
2018-05-22 14:02:08 +03:00
Arthur Zakirov
ceaa2ce9cd
PGPRO-533: Allow to show backup list in json format
2018-05-21 19:06:12 +03:00