1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/src
David Steele bc7462d86d v2.05: Environment Variable Options and Exclude Temporary/Unlogged Relations
Bug Fixes:

* Fix issue where relative links in $PGDATA could be stored in the backup with the wrong path. This issue did not affect absolute links and relative tablespace links were caught by other checks. (Reported by Cynthia Shang.)
* Remove incompletely implemented online option from the check command. Offline operation runs counter to the purpose of this command, which is to check if archiving and backups are working correctly. (Reported by Jason O'Donnell.)
* Fix issue where errors raised in C were not logged when called from Perl. pgBackRest properly terminated with the correct error code but lacked an error message to aid in debugging. (Reported by Douglas J Hunley.)
* Fix issue when a boolean option (e.g. delta) was specified more than once. (Reported by Yogesh Sharma.)

Features:

* Allow any option to be set in an environment variable. This includes options that previously could only be specified on the command line, e.g. stanza, and secret options that could not be specified on the command-line, e.g. repo1-s3-key-secret.
* Exclude temporary and unlogged relation (table/index) files from backup. Implemented using the same logic as the patches adding this feature to PostgreSQL, 8694cc96 and 920a5e50. Temporary relation exclusion is enabled in PostgreSQL ≥ 9.0. Unlogged relation exclusion is enabled in PostgreSQL ≥ 9.1, where the feature was introduced. (Contributed by Cynthia Shang.)
* Allow arbitrary directories and/or files to be excluded from a backup. Misuse of this feature can lead to inconsistent backups so read the --exclude documentation carefully before using. (Reviewed by Cynthia Shang.)
* Add log-subprocess option to allow file logging for local and remote subprocesses.
* PostgreSQL 11 Beta 3 support.

Improvements:

* Allow zero-size files in backup manifest to reference a prior manifest regardless of timestamp delta. (Contributed by Cynthia Shang.)
* Improve asynchronous archive-get/archive-push performance by directly checking status files. (Contributed by Stephen Frost.)
* Improve error message when a command is missing the stanza option. (Suggested by Sarah Conway.)
2018-08-31 13:19:43 -04:00
..
command Improve asynchronous archive-get/archive-push performance by directly checking status files. 2018-08-28 16:04:53 -04:00
common Add cvtZToUInt() to convert string to unsigned int. 2018-08-24 17:08:00 -04:00
compress Add gzip compression/decompression filters for C. 2018-08-14 14:56:59 -04:00
config Improve log file names for remote processes started by locals. 2018-08-31 11:31:13 -04:00
crypto Define cipher magic size with sizeof() rather than using a constant. 2018-08-14 16:08:58 -04:00
info Migrate minimum set of code for reading archive.info files from Perl to C. 2018-08-09 08:57:21 -04:00
perl v2.05: Environment Variable Options and Exclude Temporary/Unlogged Relations 2018-08-31 13:19:43 -04:00
postgres storageFileRead() accepts a buffer for output rather than creating one. 2018-07-17 19:01:54 -04:00
storage Enable -Wstrict-prototypes and update all void functions to conform. 2018-08-03 19:19:14 -04:00
main.c Print total runtime in milliseconds at command end. 2018-05-18 12:03:39 -04:00
Makefile Enable -Wvla. 2018-08-22 14:48:37 -04:00
version.h v2.05: Environment Variable Options and Exclude Temporary/Unlogged Relations 2018-08-31 13:19:43 -04:00