Commit Graph
100 Commits
Author SHA1 Message Date
Arthur Zakirov 248c4493dc PGPRO-1893: Add define FRONTEND to build Windows distro 2018-08-15 15:04:43 +03:00
Arthur Zakirov 4041a43db9 PGPRO-427: Check for absent WAL segments 2018-08-14 17:47:56 +03:00
Arthur Zakirov 4293603ed1 PGPRO-1893: Add merge.c to make Windows disto 2018-08-14 14:41:41 +03:00
Arthur Zakirov 4ebcea768c Do not include pthread.h outside of thread.h 2018-08-13 16:49:15 +03:00
Arthur Zakirov c7a83af64e We should use paranoia check after full and page restore 2018-08-10 12:33:09 +03:00
Arthur Zakirov 3fe942f97b Fix bug: Sometimes we may miss WAL segments and threads 2018-08-09 19:02:38 +03:00
Arthur Zakirov 6e59b6267d Fix various compile time typos 2018-08-08 17:30:48 +03:00
Arthur Zakirov 4f952331d8 Improve help message 2018-08-07 13:49:21 +03:00
Arthur Zakirov ee7812c72f Fix help typos 2018-08-07 13:40:14 +03:00
Arthur Zakirov c094151b91 Remove FATAL, PANIC log levels 2018-08-07 13:28:02 +03:00
Arthur Zakirov 3f5540de6a Version 2.0.18 2018-08-06 12:47:51 +03:00
Arthur Zakirov 7f573d7fe4 Merge branch 'pgpro_428_v1' 2018-08-03 15:45:27 +03:00
Arthur Zakirov f508308a74 PGPRO-1449: Add logging options in help 2018-08-03 13:58:16 +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 9a7daf009f Merge branch 'pgpro-1643-squashed' 2018-07-27 17:56:55 +03:00
Arthur Zakirov 144b8529e7 Merge branch 'pgpro-1693-squashed' 2018-07-27 17:35:44 +03:00
Arthur Zakirov 6d912340d6 PGPRO-427: Fix bug in SimpleXLogPageRead() with parallel mode 2018-07-25 14:17:04 +03:00
Arthur Zakirov e8037dd3b0 Merge branch 'pgpro-427' 2018-07-24 18:05:34 +03:00
Arthur Zakirov 87fb4fae93 Fix bug: get_control_value() should use signed long int; refactor restore_data_file(), so the loop will break in first truncated block 2018-07-24 15:48:44 +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 56ce573832 PGPRO-427: Count pagemap compiling time 2018-07-18 19:30:42 +03:00
Arthur Zakirov 6577c9b8e8 PGPRO-427: Use xlogreader API to locate right start LSN 2018-07-18 14:41:03 +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 4877f6b5d4.
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 e90714bcd4 Push down path variable 2018-07-10 14:53:16 +03:00
Arthur Zakirov 1d5f54c5ee PGPRO-1376: Do not call dir_is_empty() twice, because readdir() may bring different ordering 2018-07-06 19:18:05 +03:00
Arthur Zakirov be8f3be6cd PGPRO-1759: Fix messages and variable names, it should be data not date 2018-07-05 13:19:18 +03:00
Arthur Zakirov 7f87c1cebe Add pagemap_isabsent instead of PageBitmapIsAbsent define 2018-06-29 14:01:08 +03:00
Arthur Zakirov e2b2dee05e PGPRO-427: Add header size into WAL record start pointer 2018-06-22 17:26:38 +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 dac3958eec Return command line parse algorithm 2018-06-14 19:42:19 +03:00
Arthur Zakirov d3b1127ab3 Remove duplicate help command code 2018-06-09 18:14:47 +03:00
Arthur Zakirov 0afc00439c Use optind to parse subcommand name 2018-06-09 18:05:18 +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 1da749aa5e Default compression level is 1, use NOT_DEFINED_COMPRESS for not defined compression algorithm 2018-06-09 13:55:30 +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 0a849e882a Merge master into pg_probackup_windows 2018-06-08 13:34:17 +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
Arthur Zakirov 9cd12fbe05 PGPRO-533: Update hellp command 2018-06-07 14:54:25 +03:00
Arthur Zakirov c71151d3df PGPRO-533: Add json format for show-config 2018-06-06 14:07:10 +03:00
Arthur Zakirov 8aa559b17b PGPRO-533: Reformat json output 2018-06-01 17:26:56 +03:00
Arthur Zakirov 733354c40f PGPRO-533: Reformat json output, add program-version to backup.control 2018-06-01 17:09:32 +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
Arthur Zakirov 37ced690ad Fix gcc warning messages 2018-05-16 10:12:16 +03:00
Arthur Zakirov d8005d5496 PGPRO-1290: Check connected server version with build version 2018-05-16 10:00:49 +03:00
Arthur Zakirov 3b3e55b267 PGPRO-1376: Remove continue 2018-04-28 12:17:58 +03:00
Arthur Zakirov 0f768dc35f PGPRO-1376: Backup _init forks 2018-04-28 11:44:45 +03:00
Arthur Zakirov 74822dd3ae PGPRO-1376: Do not mark fork files as datafile 2018-04-27 17:12:29 +03:00
Arthur Zakirov a6aea8663d Fix deadlock: properly unset loggin_in_progress 2018-04-27 12:49:21 +03:00
Arthur Zakirov b1b1b1451a Fix deadlock: unlock before pthread_exit() 2018-04-26 16:30:52 +03:00
Arthur Zakirov a67e2c065c Issue #26: Lock mutex accurately, the approach wasnt thread safe 2018-04-25 17:24:24 +03:00
Arthur Zakirov b7caea5896 PGPRO-1376: Do not copy tablespace files twice 2018-04-24 17:45:30 +03:00
Arthur Zakirov e15469891f Initialize main_tid before any elog() calls 2018-04-11 12:07:31 +03:00
Arthur Zakirov 45988aae68 Make replication connection outside StreamLog() 2018-04-10 19:02:00 +03:00
Arthur Zakirov e7665c1d50 Arthur Zakirov: fopen() in binary mode 2018-04-10 18:44:51 +03:00
Arthur Zakirov 2e436111ec PGPRO-1311: Do not call exit() for thread, use pthread_exit() instead 2018-04-05 18:58:40 +03:00
Arthur Zakirov f25ae416a7 Remove Assert() in StreamLog() 2018-04-05 14:09:37 +03:00
Arthur Zakirov 055daf7a35 Show finished streaming WAL message correctly 2018-04-04 17:06:50 +03:00
Arthur Zakirov 834d64b30c Fix wrong message for finished segment, add finished streaming message 2018-04-04 12:40:35 +03:00
Arthur Zakirov 73eb5f266f Make compiler happy 2018-03-20 17:09:57 +03:00
Arthur Zakirov 8977e0e3df Use stream_wal instead of current.stream 2018-02-27 18:39:07 +03:00
Arthur Zakirov 615c94c37e Check --instance for VALIDATE with target parameters 2018-02-26 16:26:28 +03:00
Arthur Zakirov 025dc07988 Revert "Check --instance for VALIDATE"
This reverts commit a98bc4e840.
2018-02-26 16:24:21 +03:00
Arthur Zakirov 604e867bd1 Fix parse_time(): it is possible TZ may be zero 2018-02-13 12:26:07 +03:00
Arthur Zakirov a98bc4e840 Check --instance for VALIDATE 2018-02-12 19:50:43 +03:00
Arthur Zakirov 126db4a202 Make compiler happy 2018-02-12 18:39:50 +03:00
Arthur Zakirov 0985222c3c Show command line for BACKUP, RESTORE, VALIDATE, DELETE 2018-02-12 18:35:35 +03:00
Arthur Zakirov 8787a061e6 Fix check_server_version() for Pg10+ 2018-02-09 13:22:01 +03:00
Arthur Zakirov 4c670a0be7 Do not allow multithread backup with pglz compression 2018-01-30 18:07:11 +03:00
Arthur Zakirov 07366183c4 Properly check that pglz is not supported 2018-01-30 16:09:24 +03:00
Arthur Zakirov c1f668114e Revert "Properly check that pglz is not supported"
This reverts commit 3f272f2ed4.
2018-01-30 16:06:08 +03:00
Arthur Zakirov 3f272f2ed4 Properly check that pglz is not supported 2018-01-30 14:42:51 +03:00
Arthur Zakirov 2a87b31c4f PGPRO-1303: delete_walfiles() removes compressed WAL files too 2018-01-16 14:40:02 +03:00
Arthur Zakirov 97d028efbb Merge branch 'pgpro-1207' 2018-01-15 12:12:53 +03:00
Arthur Zakirov d96e8e24f2 PGPRO-1207: Add -W (--password) option 2018-01-10 19:17:38 +03:00
Arthur Zakirov 41de50c385 PGPRO-692: Use .partial suffix instead of .temp 2017-12-26 11:11:04 +03:00
Arthur Zakirov b0011282a7 Fix logging query text to a file 2017-12-20 17:59:11 +03:00
Arthur Zakirov d2c9fceca0 Add base36enc() and base36enc_dup().
base36enc() - returns static text
base36enc_dup() - returns duplicated text, which should be released by a user
2017-12-20 17:57:01 +03:00
Arthur Zakirov 269812aafc PGPRO-692: archive-push/archive-get to .temp file first, then rename() 2017-12-18 12:12:34 +03:00
Arthur Zakirov 4457529351 Merge branch 'pgpro-1184' 2017-12-14 18:10:14 +03:00
Arthur Zakirov c9d11c5940 PGPRO-1184: Add --overwrite option for archive-push 2017-12-14 12:36:59 +03:00
Arthur Zakirov e330230d61 PGPRO-1184: unlink WAL file on error 2017-12-14 12:35:00 +03:00
Arthur Zakirov c5e425995d PGPRO-692: Do not compress .history and .backup files. Improve messages. 2017-12-14 12:17:14 +03:00
Arthur Zakirov 3e06d9fedc PGPRO-692: Improve check of compress-algorithm and compress-level 2017-12-13 15:11:29 +03:00
Arthur Zakirov fbda56902b PGPRO-692: Improve help for archive-push/archive-get 2017-12-13 13:39:49 +03:00
Arthur Zakirov 7b0d214c0b PGPRO-692: Compress/Decompress WAL files during archive-push/archive-get 2017-12-12 15:07:13 +03:00
Arthur Zakirov 39519f74c7 Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2017-12-11 16:07:44 +03:00
Arthur Zakirov 596ac3a37b Issue #20. Check system_identifier for PostgreSQL9.5.
System identifier is fetched via pg_read_binary_file() for Pg 9.5.
2017-12-11 15:44:54 +03:00
Arthur Zakirov a528352919 Merge branch 'master' of github.com:postgrespro/pg_probackup 2017-12-11 14:06:47 +03:00
ArthurandGitHub 45be8b5d7b Merge pull request #21 from rtau-t24/master
Skip system_identifier check on PostgreSQL 9.5
2017-12-11 13:59:51 +03:00