1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/test/code-count/file-type.yaml

2449 lines
36 KiB
YAML
Raw Normal View History

# File types for source files in the project
doc/doc.pl:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Common/Doc.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Common/DocConfig.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Common/DocExecute.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Common/DocManifest.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Common/DocRender.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Common/Exception.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Common/Ini.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Common/Log.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Common/String.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Custom/DocConfigData.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Custom/DocCustomRelease.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Html/DocHtmlBuilder.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Html/DocHtmlElement.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Html/DocHtmlPage.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Html/DocHtmlSite.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Latex/DocLatex.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Latex/DocLatexSection.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Markdown/DocMarkdown.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Markdown/DocMarkdownRender.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/ProjectInfo.pm:
class: doc/core
type: perl
doc/manifest.xml:
class: doc/source
type: xml
doc/release.pl:
class: doc/core
type: perl
doc/resource/html/default.css:
class: doc/core
type: css
doc/resource/latex/preamble.tex:
class: doc/core
type: latex
doc/xml/auto/metric-coverage-report.auto.xml:
class: doc/source
type: xml
doc/xml/coding.xml:
class: doc/source
type: xml
doc/xml/contributing.xml:
class: doc/source
type: xml
doc/xml/documentation.xml:
class: doc/source
type: xml
doc/xml/dtd/doc.dtd:
class: doc/source
type: dtd
doc/xml/dtd/manifest.dtd:
class: doc/source
type: dtd
doc/xml/faq.xml:
class: doc/source
type: xml
doc/xml/index.xml:
class: doc/source
type: xml
doc/xml/metric.xml:
class: doc/source
type: xml
doc/xml/release.xml:
class: doc/source
type: xml
doc/xml/user-guide-index.xml:
class: doc/source
type: xml
doc/xml/user-guide.xml:
class: doc/source
type: xml
src/Makefile.in:
class: build
type: make
src/build.auto.h.in:
class: core
type: c/h
src/build/aclocal.m4:
class: build
type: make
v2.35: Binary Protocol IMPORTANT NOTE: The log level for copied files in the backup/restore commands has been changed to detail. This makes the info log level less noisy but if these messages are required then set the log level for the backup/restore commands to detail. Bug Fixes: * Detect errors in S3 multi-part upload finalize. (Reviewed by Cynthia Shang, Marco Montagna. Reported by Marco Montagna, Lev Kokotov, Anderson A. Mallmann.) * Fix detection of circular symlinks. (Reviewed by Stefan Fercot. Reported by Rohit Raveendran.) * Only pass selected repo options to the remote. (Reviewed by David Christensen, Cynthia Shang. Reported by Greg Sabino Mullane, David Christensen.) Improvements: * Binary protocol. (Reviewed by Cynthia Shang.) * Automatically create data directory on restore. (Contributed by Stefan Fercot. Reviewed by David Steele. Suggested by Chris Bandy.) * Allow restore --type=lsn. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang. Suggested by James Coleman.) * Change level of backup/restore copied file logging to detail. (Reviewed by Stefan Fercot. Suggested by Jens Wilke.) * Loop while waiting for checkpoint LSN to reach replay LSN. (Contributed by Stefan Fercot. Reviewed by David Steele. Suggested by Fatih Mencutekin.) * Log backup file total and restore size/file total. (Reviewed by Cynthia Shang.) Documentation Bug Fixes: * Fix incorrect host names in user guide. (Reviewed by Stefan Fercot. Reported by Greg Sabino Mullane.) Documentation Improvements: * Update contributing documentation and add pull request template. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Rearrange backup documentation in user guide. (Reviewed by Cynthia Shang.) * Clarify restore --type behavior in command reference. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Fix documentation and comment typos. (Contributed by Eric Radman. Reviewed by David Steele.) Test Suite Improvements: * Add check for test path inside repo path. (Reviewed by Greg Sabino Mullane. Suggested by Greg Sabino Mullane.) * Add CodeQL static code analysis. (Reviewed by Cynthia Shang.) * Update tests to use standard patterns. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2021-08-23 12:52:51 +02:00
src/build/common/render.c:
class: build
type: c
src/build/common/render.h:
class: build
type: c/h
src/build/common/yaml.c:
class: build
type: c
src/build/common/yaml.h:
class: build
type: c/h
src/build/config.guess:
class: build
type: make
src/build/config.sub:
class: build
type: make
v2.33: Multi-Repository and GCS Support Bug Fixes: * Fix option warnings breaking async archive-get/archive-push. (Reviewed by Cynthia Shang. Reported by Lev Kokotov.) * Fix memory leak in backup during archive copy. (Reviewed by Cynthia Shang. Reported by Christian ROUX, Efremov Egor.) * Fix stack overflow in cipher passphrase generation. (Reviewed by Cynthia Shang. Reported by bsiara.) * Fix repo-ls / on S3 repositories. (Reviewed by Cynthia Shang. Reported by Lesovsky Alexey.) Features: * Multiple repository support. (Contributed by Cynthia Shang, David Steele. Reviewed by Stefan Fercot, Stephen Frost.) * GCS support for repository storage. (Reviewed by Cynthia Shang.) * Add archive-header-check option. (Reviewed by Stephen Frost, Cynthia Shang. Suggested by Hans-Jürgen Schönig.) Improvements: * Include recreated system databases during selective restore. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang.) * Exclude content-length from S3 signed headers. (Reviewed by Cynthia Shang. Suggested by Brian P Bockelman.) * Consolidate less commonly used repository storage options. (Reviewed by Cynthia Shang.) * Allow custom config-path default with ./configure --with-configdir. (Contributed by Michael Schout. Reviewed by David Steele.) * Log archive copy during backup. (Reviewed by Cynthia Shang, Stefan Fercot.) Documentation Improvements: * Update reference to include links to user guide examples. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Update selective restore documentation with caveats. (Reviewed by Cynthia Shang, Stefan Fercot.) * Add compress-type clarification to archive-copy documentation. (Reviewed by Cynthia Shang, Stefan Fercot.) * Add compress-level defaults per compress-type value. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Add note about required NFS settings being the same as PostgreSQL. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2021-04-05 15:18:20 +02:00
src/build/config/config.yaml:
class: build
type: yaml
v2.35: Binary Protocol IMPORTANT NOTE: The log level for copied files in the backup/restore commands has been changed to detail. This makes the info log level less noisy but if these messages are required then set the log level for the backup/restore commands to detail. Bug Fixes: * Detect errors in S3 multi-part upload finalize. (Reviewed by Cynthia Shang, Marco Montagna. Reported by Marco Montagna, Lev Kokotov, Anderson A. Mallmann.) * Fix detection of circular symlinks. (Reviewed by Stefan Fercot. Reported by Rohit Raveendran.) * Only pass selected repo options to the remote. (Reviewed by David Christensen, Cynthia Shang. Reported by Greg Sabino Mullane, David Christensen.) Improvements: * Binary protocol. (Reviewed by Cynthia Shang.) * Automatically create data directory on restore. (Contributed by Stefan Fercot. Reviewed by David Steele. Suggested by Chris Bandy.) * Allow restore --type=lsn. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang. Suggested by James Coleman.) * Change level of backup/restore copied file logging to detail. (Reviewed by Stefan Fercot. Suggested by Jens Wilke.) * Loop while waiting for checkpoint LSN to reach replay LSN. (Contributed by Stefan Fercot. Reviewed by David Steele. Suggested by Fatih Mencutekin.) * Log backup file total and restore size/file total. (Reviewed by Cynthia Shang.) Documentation Bug Fixes: * Fix incorrect host names in user guide. (Reviewed by Stefan Fercot. Reported by Greg Sabino Mullane.) Documentation Improvements: * Update contributing documentation and add pull request template. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Rearrange backup documentation in user guide. (Reviewed by Cynthia Shang.) * Clarify restore --type behavior in command reference. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Fix documentation and comment typos. (Contributed by Eric Radman. Reviewed by David Steele.) Test Suite Improvements: * Add check for test path inside repo path. (Reviewed by Greg Sabino Mullane. Suggested by Greg Sabino Mullane.) * Add CodeQL static code analysis. (Reviewed by Cynthia Shang.) * Update tests to use standard patterns. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2021-08-23 12:52:51 +02:00
src/build/config/main.c:
class: build
type: c
src/build/config/parse.c:
class: build
type: c
src/build/config/parse.h:
class: build
type: c/h
src/build/config/render.c:
class: build
type: c
src/build/config/render.h:
class: build
type: c/h
src/build/configure.ac:
class: build
type: make
v2.35: Binary Protocol IMPORTANT NOTE: The log level for copied files in the backup/restore commands has been changed to detail. This makes the info log level less noisy but if these messages are required then set the log level for the backup/restore commands to detail. Bug Fixes: * Detect errors in S3 multi-part upload finalize. (Reviewed by Cynthia Shang, Marco Montagna. Reported by Marco Montagna, Lev Kokotov, Anderson A. Mallmann.) * Fix detection of circular symlinks. (Reviewed by Stefan Fercot. Reported by Rohit Raveendran.) * Only pass selected repo options to the remote. (Reviewed by David Christensen, Cynthia Shang. Reported by Greg Sabino Mullane, David Christensen.) Improvements: * Binary protocol. (Reviewed by Cynthia Shang.) * Automatically create data directory on restore. (Contributed by Stefan Fercot. Reviewed by David Steele. Suggested by Chris Bandy.) * Allow restore --type=lsn. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang. Suggested by James Coleman.) * Change level of backup/restore copied file logging to detail. (Reviewed by Stefan Fercot. Suggested by Jens Wilke.) * Loop while waiting for checkpoint LSN to reach replay LSN. (Contributed by Stefan Fercot. Reviewed by David Steele. Suggested by Fatih Mencutekin.) * Log backup file total and restore size/file total. (Reviewed by Cynthia Shang.) Documentation Bug Fixes: * Fix incorrect host names in user guide. (Reviewed by Stefan Fercot. Reported by Greg Sabino Mullane.) Documentation Improvements: * Update contributing documentation and add pull request template. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Rearrange backup documentation in user guide. (Reviewed by Cynthia Shang.) * Clarify restore --type behavior in command reference. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Fix documentation and comment typos. (Contributed by Eric Radman. Reviewed by David Steele.) Test Suite Improvements: * Add check for test path inside repo path. (Reviewed by Greg Sabino Mullane. Suggested by Greg Sabino Mullane.) * Add CodeQL static code analysis. (Reviewed by Cynthia Shang.) * Update tests to use standard patterns. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2021-08-23 12:52:51 +02:00
src/build/error/error.yaml:
class: build
type: yaml
src/build/error/main.c:
class: build
type: c
src/build/error/parse.c:
class: build
type: c
src/build/error/parse.h:
class: build
type: c/h
src/build/error/render.c:
class: build
type: c
src/build/error/render.h:
class: build
type: c/h
src/build/help/help.xml:
class: build
type: make
src/build/help/main.c:
class: build
type: c
src/build/help/parse.c:
class: build
type: c
src/build/help/parse.h:
class: build
type: c/h
src/build/help/render.c:
class: build
type: c
src/build/help/render.h:
class: build
type: c/h
src/build/install-sh:
class: build
type: make
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
src/command/archive/common.c:
class: core
type: c
src/command/archive/common.h:
class: core
type: c/h
src/command/archive/get/file.c:
class: core
type: c
src/command/archive/get/file.h:
class: core
type: c/h
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
src/command/archive/get/get.c:
class: core
type: c
src/command/archive/get/get.h:
class: core
type: c/h
src/command/archive/get/protocol.c:
class: core
type: c
src/command/archive/get/protocol.h:
class: core
type: c/h
src/command/archive/push/file.c:
class: core
type: c
src/command/archive/push/file.h:
class: core
type: c/h
src/command/archive/push/protocol.c:
class: core
type: c
src/command/archive/push/protocol.h:
class: core
type: c/h
src/command/archive/push/push.c:
class: core
type: c
src/command/archive/push/push.h:
class: core
type: c/h
src/command/backup/backup.c:
class: core
type: c
src/command/backup/backup.h:
class: core
type: c/h
src/command/backup/common.c:
class: core
type: c
src/command/backup/common.h:
class: core
type: c/h
src/command/backup/file.c:
class: core
type: c
src/command/backup/file.h:
class: core
type: c/h
src/command/backup/pageChecksum.c:
class: core
type: c
src/command/backup/pageChecksum.h:
class: core
type: c/h
src/command/backup/protocol.c:
class: core
type: c
src/command/backup/protocol.h:
class: core
type: c/h
src/command/check/check.c:
class: core
type: c
src/command/check/check.h:
class: core
type: c/h
src/command/check/common.c:
class: core
type: c
src/command/check/common.h:
class: core
type: c/h
src/command/command.c:
class: core
type: c
src/command/command.h:
class: core
type: c/h
src/command/control/common.c:
class: core
type: c
src/command/control/common.h:
class: core
type: c/h
src/command/control/start.c:
class: core
type: c
src/command/control/start.h:
class: core
type: c/h
src/command/control/stop.c:
class: core
type: c
src/command/control/stop.h:
class: core
type: c/h
src/command/expire/expire.c:
class: core
type: c
src/command/expire/expire.h:
class: core
type: c/h
src/command/help/help.c:
class: core
type: c
src/command/help/help.h:
class: core
type: c/h
src/command/info/info.c:
class: core
type: c
src/command/info/info.h:
class: core
type: c/h
src/command/local/local.c:
class: core
type: c
src/command/local/local.h:
class: core
type: c/h
src/command/remote/remote.c:
class: core
type: c
src/command/remote/remote.h:
class: core
type: c/h
src/command/repo/common.c:
class: core
type: c
src/command/repo/common.h:
class: core
type: c/h
src/command/repo/create.c:
class: core
type: c
src/command/repo/create.h:
class: core
type: c/h
src/command/repo/get.c:
class: core
type: c
src/command/repo/get.h:
class: core
type: c/h
src/command/repo/ls.c:
class: core
type: c
src/command/repo/ls.h:
class: core
type: c/h
src/command/repo/put.c:
class: core
type: c
src/command/repo/put.h:
class: core
type: c/h
src/command/repo/rm.c:
class: core
type: c
src/command/repo/rm.h:
class: core
type: c/h
src/command/restore/file.c:
class: core
type: c
src/command/restore/file.h:
class: core
type: c/h
src/command/restore/protocol.c:
class: core
type: c
src/command/restore/protocol.h:
class: core
type: c/h
src/command/restore/restore.c:
class: core
type: c
src/command/restore/restore.h:
class: core
type: c/h
src/command/server/ping.c:
class: core
type: c
src/command/server/ping.h:
class: core
type: c/h
src/command/server/server.c:
class: core
type: c
src/command/server/server.h:
class: core
type: c/h
src/command/stanza/common.c:
class: core
type: c
src/command/stanza/common.h:
class: core
type: c/h
src/command/stanza/create.c:
class: core
type: c
src/command/stanza/create.h:
class: core
type: c/h
src/command/stanza/delete.c:
class: core
type: c
src/command/stanza/delete.h:
class: core
type: c/h
src/command/stanza/upgrade.c:
class: core
type: c
src/command/stanza/upgrade.h:
class: core
type: c/h
src/command/verify/file.c:
class: core
type: c
src/command/verify/file.h:
class: core
type: c/h
src/command/verify/protocol.c:
class: core
type: c
src/command/verify/protocol.h:
class: core
type: c/h
src/command/verify/verify.c:
class: core
type: c
src/command/verify/verify.h:
class: core
type: c/h
src/common/assert.h:
class: core
type: c/h
v2.27: Expiration Improvements and Compression Drivers Bug Fixes: * Fix issue checking if file links are contained in path links. (Reviewed by Cynthia Shang. Reported by Christophe Cavallié.) * Allow pg-path1 to be optional for synchronous archive-push. (Reviewed by Cynthia Shang. Reported by Jerome Peng.) * The expire command now checks if a stop file is present. (Fixed by Cynthia Shang. Reviewed by David Steele.) * Handle missing reason phrase in HTTP response. (Reviewed by Cynthia Shang. Reported by Tenuun.) * Increase buffer size for lz4 compression flush. (Reviewed by Cynthia Shang. Reported by Eric Radman.) * Ignore pg-host* and repo-host* options for the remote command. (Reviewed by Cynthia Shang. Reported by Pavel Suderevsky.) * Fix possibly missing pg1-* options for the remote command. (Reviewed by Cynthia Shang. Reported by Andrew L'Ecuyer.) Features: * Time-based retention for full backups. The --repo-retention-full-type option allows retention of full backups based on a time period, specified in days. (Contributed by Cynthia Shang, Pierre Ducroquet. Reviewed by David Steele.) * Ad hoc backup expiration. Allow the user to remove a specified backup regardless of retention settings. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Zstandard compression support. Note that setting compress-type=zst will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. (Reviewed by Cynthia Shang.) * bzip2 compression support. Note that setting compress-type=bz2 will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. (Contributed by Stephen Frost. Reviewed by David Steele, Cynthia Shang.) * Add backup/expire running status to the info command. (Contributed by Stefan Fercot. Reviewed by David Steele.) Improvements: * Expire WAL archive only when repo-retention-archive threshold is met. WAL prior to the first full backup was previously expired after the first full backup. Now it is preserved according to retention settings. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Add local MD5 implementation so S3 works when FIPS is enabled. (Reviewed by Cynthia Shang, Stephen Frost. Suggested by Brian Almeida, John Kelley.) * PostgreSQL 13 beta1 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. (Reviewed by Cynthia Shang.) * Reduce buffer-size default to 1MiB. (Reviewed by Stephen Frost.) * Throw user-friendly error if expire is not run on repository host. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2020-05-26 14:11:50 +02:00
src/common/compress/bz2/common.c:
class: core
type: c
src/common/compress/bz2/common.h:
class: core
type: c/h
src/common/compress/bz2/compress.c:
class: core
type: c
src/common/compress/bz2/compress.h:
class: core
type: c/h
src/common/compress/bz2/decompress.c:
class: core
type: c
src/common/compress/bz2/decompress.h:
class: core
type: c/h
src/common/compress/gz/common.c:
class: core
type: c
src/common/compress/gz/common.h:
class: core
type: c/h
src/common/compress/gz/compress.c:
class: core
type: c
src/common/compress/gz/compress.h:
class: core
type: c/h
src/common/compress/gz/decompress.c:
class: core
type: c
src/common/compress/gz/decompress.h:
class: core
type: c/h
src/common/compress/helper.c:
class: core
type: c
src/common/compress/helper.h:
class: core
type: c/h
src/common/compress/helper.intern.h:
class: core
type: c/h
src/common/compress/lz4/common.c:
class: core
type: c
src/common/compress/lz4/common.h:
class: core
type: c/h
src/common/compress/lz4/compress.c:
class: core
type: c
src/common/compress/lz4/compress.h:
class: core
type: c/h
src/common/compress/lz4/decompress.c:
class: core
type: c
src/common/compress/lz4/decompress.h:
class: core
type: c/h
v2.27: Expiration Improvements and Compression Drivers Bug Fixes: * Fix issue checking if file links are contained in path links. (Reviewed by Cynthia Shang. Reported by Christophe Cavallié.) * Allow pg-path1 to be optional for synchronous archive-push. (Reviewed by Cynthia Shang. Reported by Jerome Peng.) * The expire command now checks if a stop file is present. (Fixed by Cynthia Shang. Reviewed by David Steele.) * Handle missing reason phrase in HTTP response. (Reviewed by Cynthia Shang. Reported by Tenuun.) * Increase buffer size for lz4 compression flush. (Reviewed by Cynthia Shang. Reported by Eric Radman.) * Ignore pg-host* and repo-host* options for the remote command. (Reviewed by Cynthia Shang. Reported by Pavel Suderevsky.) * Fix possibly missing pg1-* options for the remote command. (Reviewed by Cynthia Shang. Reported by Andrew L'Ecuyer.) Features: * Time-based retention for full backups. The --repo-retention-full-type option allows retention of full backups based on a time period, specified in days. (Contributed by Cynthia Shang, Pierre Ducroquet. Reviewed by David Steele.) * Ad hoc backup expiration. Allow the user to remove a specified backup regardless of retention settings. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Zstandard compression support. Note that setting compress-type=zst will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. (Reviewed by Cynthia Shang.) * bzip2 compression support. Note that setting compress-type=bz2 will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. (Contributed by Stephen Frost. Reviewed by David Steele, Cynthia Shang.) * Add backup/expire running status to the info command. (Contributed by Stefan Fercot. Reviewed by David Steele.) Improvements: * Expire WAL archive only when repo-retention-archive threshold is met. WAL prior to the first full backup was previously expired after the first full backup. Now it is preserved according to retention settings. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Add local MD5 implementation so S3 works when FIPS is enabled. (Reviewed by Cynthia Shang, Stephen Frost. Suggested by Brian Almeida, John Kelley.) * PostgreSQL 13 beta1 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. (Reviewed by Cynthia Shang.) * Reduce buffer-size default to 1MiB. (Reviewed by Stephen Frost.) * Throw user-friendly error if expire is not run on repository host. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2020-05-26 14:11:50 +02:00
src/common/compress/zst/common.c:
class: core
type: c
src/common/compress/zst/common.h:
class: core
type: c/h
src/common/compress/zst/compress.c:
class: core
type: c
src/common/compress/zst/compress.h:
class: core
type: c/h
src/common/compress/zst/decompress.c:
class: core
type: c
src/common/compress/zst/decompress.h:
class: core
type: c/h
src/common/crypto/cipherBlock.c:
class: core
type: c
src/common/crypto/cipherBlock.h:
class: core
type: c/h
src/common/crypto/common.c:
class: core
type: c
src/common/crypto/common.h:
class: core
type: c/h
src/common/crypto/hash.c:
class: core
type: c
src/common/crypto/hash.h:
class: core
type: c/h
v2.27: Expiration Improvements and Compression Drivers Bug Fixes: * Fix issue checking if file links are contained in path links. (Reviewed by Cynthia Shang. Reported by Christophe Cavallié.) * Allow pg-path1 to be optional for synchronous archive-push. (Reviewed by Cynthia Shang. Reported by Jerome Peng.) * The expire command now checks if a stop file is present. (Fixed by Cynthia Shang. Reviewed by David Steele.) * Handle missing reason phrase in HTTP response. (Reviewed by Cynthia Shang. Reported by Tenuun.) * Increase buffer size for lz4 compression flush. (Reviewed by Cynthia Shang. Reported by Eric Radman.) * Ignore pg-host* and repo-host* options for the remote command. (Reviewed by Cynthia Shang. Reported by Pavel Suderevsky.) * Fix possibly missing pg1-* options for the remote command. (Reviewed by Cynthia Shang. Reported by Andrew L'Ecuyer.) Features: * Time-based retention for full backups. The --repo-retention-full-type option allows retention of full backups based on a time period, specified in days. (Contributed by Cynthia Shang, Pierre Ducroquet. Reviewed by David Steele.) * Ad hoc backup expiration. Allow the user to remove a specified backup regardless of retention settings. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Zstandard compression support. Note that setting compress-type=zst will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. (Reviewed by Cynthia Shang.) * bzip2 compression support. Note that setting compress-type=bz2 will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. (Contributed by Stephen Frost. Reviewed by David Steele, Cynthia Shang.) * Add backup/expire running status to the info command. (Contributed by Stefan Fercot. Reviewed by David Steele.) Improvements: * Expire WAL archive only when repo-retention-archive threshold is met. WAL prior to the first full backup was previously expired after the first full backup. Now it is preserved according to retention settings. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Add local MD5 implementation so S3 works when FIPS is enabled. (Reviewed by Cynthia Shang, Stephen Frost. Suggested by Brian Almeida, John Kelley.) * PostgreSQL 13 beta1 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. (Reviewed by Cynthia Shang.) * Reduce buffer-size default to 1MiB. (Reviewed by Stephen Frost.) * Throw user-friendly error if expire is not run on repository host. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2020-05-26 14:11:50 +02:00
src/common/crypto/md5.vendor.c:
class: core/vendor
type: c
src/common/debug.c:
class: core
type: c
src/common/debug.h:
class: core
type: c/h
src/common/encode.c:
class: core
type: c
src/common/encode.h:
class: core
type: c/h
src/common/error.auto.c:
class: core/auto
type: c
src/common/error.auto.h:
class: core/auto
type: c/h
src/common/error.c:
class: core
type: c
src/common/error.h:
class: core
type: c/h
src/common/exec.c:
class: core
type: c
src/common/exec.h:
class: core
type: c/h
src/common/exit.c:
class: core
type: c
src/common/exit.h:
class: core
type: c/h
src/common/fork.c:
class: core
type: c
src/common/fork.h:
class: core
type: c/h
src/common/ini.c:
class: core
type: c
src/common/ini.h:
class: core
type: c/h
src/common/io/bufferRead.c:
class: core
type: c
src/common/io/bufferRead.h:
class: core
type: c/h
src/common/io/bufferWrite.c:
class: core
type: c
src/common/io/bufferWrite.h:
class: core
type: c/h
v2.29: Auto S3 Credentials on AWS Bug Fixes: * Suppress errors when closing local/remote processes. Since the command has completed it is counterproductive to throw an error but still warn to indicate that something unusual happened. (Reviewed by Cynthia Shang. Reported by argdenis.) * Fix issue with = character in file or database names. (Reviewed by Bastian Wegge, Cynthia Shang. Reported by Brad Nicholson, Bastian Wegge.) Features: * Automatically retrieve temporary S3 credentials on AWS instances. (Contributed by David Steele, Stephen Frost. Reviewed by Cynthia Shang, David Youatt, Aleš Zelený, Jeanette Bromage.) * Add archive-mode option to disable archiving on restore. (Reviewed by Stephen Frost. Suggested by Stephen Frost.) Improvements: * PostgreSQL 13 beta3 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. * Asynchronous list/remove for S3/Azure storage. (Reviewed by Cynthia Shang, Stephen Frost.) * Improve memory usage of unlogged relation detection in manifest build. (Reviewed by Cynthia Shang, Stephen Frost, Brad Nicholson, Oscar. Suggested by Oscar, Brad Nicholson.) * Proactively close file descriptors after forking async process. (Reviewed by Stephen Frost, Cynthia Shang.) * Delay backup remote connection close until after archive check. (Contributed by Floris van Nee. Reviewed by David Steele.) * Improve detailed error output. (Reviewed by Cynthia Shang.) * Improve TLS error reporting. (Reviewed by Cynthia Shang, Stephen Frost.) Documentation Bug Fixes: * Add none to compress-type option reference and fix example. (Reported by Ugo Bellavance, Don Seiler.) * Add missing azure type in repo-type option reference. (Fixed by Don Seiler. Reviewed by David Steele.) * Fix typo in repo-cipher-type option reference. (Fixed by Don Seiler. Reviewed by David Steele.) Documentation Improvements: * Clarify that expire must be run regularly when expire-auto is disabled. (Reviewed by Douglas J Hunley. Suggested by Douglas J Hunley.)
2020-08-31 13:28:22 +02:00
src/common/io/client.c:
class: core
type: c
src/common/io/client.h:
class: core
type: c/h
src/common/io/client.intern.h:
class: core
type: c/h
src/common/io/fd.c:
class: core
type: c
src/common/io/fd.h:
class: core
type: c/h
src/common/io/fdRead.c:
class: core
type: c
src/common/io/fdRead.h:
class: core
type: c/h
src/common/io/fdWrite.c:
class: core
type: c
src/common/io/fdWrite.h:
class: core
type: c/h
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 19:19:43 +02:00
src/common/io/filter/buffer.c:
class: core
type: c
src/common/io/filter/buffer.h:
class: core
type: c/h
src/common/io/filter/filter.c:
class: core
type: c
src/common/io/filter/filter.h:
class: core
type: c/h
src/common/io/filter/filter.intern.h:
class: core
type: c/h
src/common/io/filter/group.c:
class: core
type: c
src/common/io/filter/group.h:
class: core
type: c/h
src/common/io/filter/sink.c:
class: core
type: c
src/common/io/filter/sink.h:
class: core
type: c/h
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 19:19:43 +02:00
src/common/io/filter/size.c:
class: core
type: c
src/common/io/filter/size.h:
class: core
type: c/h
src/common/io/http/client.c:
class: core
type: c
src/common/io/http/client.h:
class: core
type: c/h
src/common/io/http/common.c:
class: core
type: c
src/common/io/http/common.h:
class: core
type: c/h
src/common/io/http/header.c:
class: core
type: c
src/common/io/http/header.h:
class: core
type: c/h
src/common/io/http/query.c:
class: core
type: c
src/common/io/http/query.h:
class: core
type: c/h
v2.28: Azure Repository Storage Bug Fixes: * Fix restore --force acting like --force --delta. This caused restore to replace files based on timestamp and size rather than overwriting, which meant some files that should have been updated were left unchanged. Normal restore and restore --delta were not affected by this issue. (Reviewed by Cynthia Shang.) Features: * Azure support for repository storage. (Reviewed by Cynthia Shang, Don Seiler.) * Add expire-auto option. This allows automatic expiration after a successful backup to be disabled. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang, David Steele.) Improvements: * Asynchronous S3 multipart upload. (Reviewed by Stephen Frost.) * Automatic retry for backup, restore, archive-get, and archive-push. (Reviewed by Cynthia Shang.) * Disable query parallelism in PostgreSQL sessions used for backup control. (Reviewed by Stefan Fercot.) * PostgreSQL 13 beta2 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. * Improve handling of invalid HTTP response status. (Reviewed by Cynthia Shang.) * Improve error when pg1-path option missing for archive-get command. (Reviewed by Cynthia Shang.) * Add hint when checksum delta is enabled after a timeline switch. (Reviewed by Matt Bunter, Cynthia Shang.) * Use PostgreSQL instead of postmaster where appropriate. (Reviewed by Cynthia Shang.) Documentation Bug Fixes: * Fix incorrect example for repo-retention-full-type option. (Reported by Höseyin Sönmez.) * Remove internal commands from HTML and man command references. (Reported by Cynthia Shang.) Documentation Improvements: * Update PostgreSQL versions used to build user guides. Also add version ranges to indicate that a user guide is accurate for a range of PostgreSQL versions even if it was built for a specific version. (Reviewed by Stephen Frost.) * Update FAQ for expiring a specific backup set. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Update FAQ to clarify default PITR behavior. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2020-07-20 14:57:22 +02:00
src/common/io/http/request.c:
class: core
type: c
src/common/io/http/request.h:
class: core
type: c/h
src/common/io/http/response.c:
class: core
type: c
src/common/io/http/response.h:
class: core
type: c/h
src/common/io/http/session.c:
class: core
type: c
src/common/io/http/session.h:
class: core
type: c/h
v2.33: Multi-Repository and GCS Support Bug Fixes: * Fix option warnings breaking async archive-get/archive-push. (Reviewed by Cynthia Shang. Reported by Lev Kokotov.) * Fix memory leak in backup during archive copy. (Reviewed by Cynthia Shang. Reported by Christian ROUX, Efremov Egor.) * Fix stack overflow in cipher passphrase generation. (Reviewed by Cynthia Shang. Reported by bsiara.) * Fix repo-ls / on S3 repositories. (Reviewed by Cynthia Shang. Reported by Lesovsky Alexey.) Features: * Multiple repository support. (Contributed by Cynthia Shang, David Steele. Reviewed by Stefan Fercot, Stephen Frost.) * GCS support for repository storage. (Reviewed by Cynthia Shang.) * Add archive-header-check option. (Reviewed by Stephen Frost, Cynthia Shang. Suggested by Hans-Jürgen Schönig.) Improvements: * Include recreated system databases during selective restore. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang.) * Exclude content-length from S3 signed headers. (Reviewed by Cynthia Shang. Suggested by Brian P Bockelman.) * Consolidate less commonly used repository storage options. (Reviewed by Cynthia Shang.) * Allow custom config-path default with ./configure --with-configdir. (Contributed by Michael Schout. Reviewed by David Steele.) * Log archive copy during backup. (Reviewed by Cynthia Shang, Stefan Fercot.) Documentation Improvements: * Update reference to include links to user guide examples. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Update selective restore documentation with caveats. (Reviewed by Cynthia Shang, Stefan Fercot.) * Add compress-type clarification to archive-copy documentation. (Reviewed by Cynthia Shang, Stefan Fercot.) * Add compress-level defaults per compress-type value. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Add note about required NFS settings being the same as PostgreSQL. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2021-04-05 15:18:20 +02:00
src/common/io/http/url.c:
class: core
type: c
src/common/io/http/url.h:
class: core
type: c/h
src/common/io/io.c:
class: core
type: c
src/common/io/io.h:
class: core
type: c/h
src/common/io/read.c:
class: core
type: c
src/common/io/read.h:
class: core
type: c/h
src/common/io/read.intern.h:
class: core
type: c/h
src/common/io/server.c:
class: core
type: c
src/common/io/server.h:
class: core
type: c/h
src/common/io/server.intern.h:
class: core
type: c/h
v2.29: Auto S3 Credentials on AWS Bug Fixes: * Suppress errors when closing local/remote processes. Since the command has completed it is counterproductive to throw an error but still warn to indicate that something unusual happened. (Reviewed by Cynthia Shang. Reported by argdenis.) * Fix issue with = character in file or database names. (Reviewed by Bastian Wegge, Cynthia Shang. Reported by Brad Nicholson, Bastian Wegge.) Features: * Automatically retrieve temporary S3 credentials on AWS instances. (Contributed by David Steele, Stephen Frost. Reviewed by Cynthia Shang, David Youatt, Aleš Zelený, Jeanette Bromage.) * Add archive-mode option to disable archiving on restore. (Reviewed by Stephen Frost. Suggested by Stephen Frost.) Improvements: * PostgreSQL 13 beta3 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. * Asynchronous list/remove for S3/Azure storage. (Reviewed by Cynthia Shang, Stephen Frost.) * Improve memory usage of unlogged relation detection in manifest build. (Reviewed by Cynthia Shang, Stephen Frost, Brad Nicholson, Oscar. Suggested by Oscar, Brad Nicholson.) * Proactively close file descriptors after forking async process. (Reviewed by Stephen Frost, Cynthia Shang.) * Delay backup remote connection close until after archive check. (Contributed by Floris van Nee. Reviewed by David Steele.) * Improve detailed error output. (Reviewed by Cynthia Shang.) * Improve TLS error reporting. (Reviewed by Cynthia Shang, Stephen Frost.) Documentation Bug Fixes: * Add none to compress-type option reference and fix example. (Reported by Ugo Bellavance, Don Seiler.) * Add missing azure type in repo-type option reference. (Fixed by Don Seiler. Reviewed by David Steele.) * Fix typo in repo-cipher-type option reference. (Fixed by Don Seiler. Reviewed by David Steele.) Documentation Improvements: * Clarify that expire must be run regularly when expire-auto is disabled. (Reviewed by Douglas J Hunley. Suggested by Douglas J Hunley.)
2020-08-31 13:28:22 +02:00
src/common/io/session.c:
class: core
type: c
src/common/io/session.h:
class: core
type: c/h
src/common/io/session.intern.h:
class: core
type: c/h
src/common/io/socket/client.c:
class: core
type: c
src/common/io/socket/client.h:
class: core
type: c/h
src/common/io/socket/common.c:
class: core
type: c
src/common/io/socket/common.h:
class: core
type: c/h
src/common/io/socket/server.c:
class: core
type: c
src/common/io/socket/server.h:
class: core
type: c/h
src/common/io/socket/session.c:
class: core
type: c
src/common/io/socket/session.h:
class: core
type: c/h
src/common/io/tls/client.c:
class: core
type: c
src/common/io/tls/client.h:
class: core
type: c/h
src/common/io/tls/common.c:
class: core
type: c
src/common/io/tls/common.h:
class: core
type: c/h
src/common/io/tls/server.c:
class: core
type: c
src/common/io/tls/server.h:
class: core
type: c/h
src/common/io/tls/session.c:
class: core
type: c
src/common/io/tls/session.h:
class: core
type: c/h
src/common/io/write.c:
class: core
type: c
src/common/io/write.h:
class: core
type: c/h
src/common/io/write.intern.h:
class: core
type: c/h
src/common/lock.c:
class: core
type: c
src/common/lock.h:
class: core
type: c/h
src/common/log.c:
class: core
type: c
src/common/log.h:
class: core
type: c/h
src/common/logLevel.h:
class: core
type: c/h
src/common/macro.h:
class: core
type: c/h
src/common/memContext.c:
class: core
type: c
src/common/memContext.h:
class: core
type: c/h
src/common/regExp.c:
class: core
type: c
src/common/regExp.h:
class: core
type: c/h
src/common/stackTrace.c:
class: core
type: c
src/common/stackTrace.h:
class: core
type: c/h
v2.29: Auto S3 Credentials on AWS Bug Fixes: * Suppress errors when closing local/remote processes. Since the command has completed it is counterproductive to throw an error but still warn to indicate that something unusual happened. (Reviewed by Cynthia Shang. Reported by argdenis.) * Fix issue with = character in file or database names. (Reviewed by Bastian Wegge, Cynthia Shang. Reported by Brad Nicholson, Bastian Wegge.) Features: * Automatically retrieve temporary S3 credentials on AWS instances. (Contributed by David Steele, Stephen Frost. Reviewed by Cynthia Shang, David Youatt, Aleš Zelený, Jeanette Bromage.) * Add archive-mode option to disable archiving on restore. (Reviewed by Stephen Frost. Suggested by Stephen Frost.) Improvements: * PostgreSQL 13 beta3 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. * Asynchronous list/remove for S3/Azure storage. (Reviewed by Cynthia Shang, Stephen Frost.) * Improve memory usage of unlogged relation detection in manifest build. (Reviewed by Cynthia Shang, Stephen Frost, Brad Nicholson, Oscar. Suggested by Oscar, Brad Nicholson.) * Proactively close file descriptors after forking async process. (Reviewed by Stephen Frost, Cynthia Shang.) * Delay backup remote connection close until after archive check. (Contributed by Floris van Nee. Reviewed by David Steele.) * Improve detailed error output. (Reviewed by Cynthia Shang.) * Improve TLS error reporting. (Reviewed by Cynthia Shang, Stephen Frost.) Documentation Bug Fixes: * Add none to compress-type option reference and fix example. (Reported by Ugo Bellavance, Don Seiler.) * Add missing azure type in repo-type option reference. (Fixed by Don Seiler. Reviewed by David Steele.) * Fix typo in repo-cipher-type option reference. (Fixed by Don Seiler. Reviewed by David Steele.) Documentation Improvements: * Clarify that expire must be run regularly when expire-auto is disabled. (Reviewed by Douglas J Hunley. Suggested by Douglas J Hunley.)
2020-08-31 13:28:22 +02:00
src/common/stat.c:
class: core
type: c
src/common/stat.h:
class: core
type: c/h
src/common/time.c:
class: core
type: c
src/common/time.h:
class: core
type: c/h
src/common/type/buffer.c:
class: core
type: c
src/common/type/buffer.h:
class: core
type: c/h
src/common/type/convert.c:
class: core
type: c
src/common/type/convert.h:
class: core
type: c/h
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 19:19:43 +02:00
src/common/type/json.c:
class: core
type: c
src/common/type/json.h:
class: core
type: c/h
src/common/type/keyValue.c:
class: core
type: c
src/common/type/keyValue.h:
class: core
type: c/h
src/common/type/list.c:
class: core
type: c
src/common/type/list.h:
class: core
type: c/h
v2.34: PostgreSQL 14 Support Bug Fixes: * Fix issues with leftover spool files from a prior restore. (Reviewed by Cynthia Shang, Stefan Fercot, Floris van Nee. Reported by Floris van Nee.) * Fix issue when checking links for large numbers of tablespaces. (Reviewed by Cynthia Shang, Avinash Vallarapu. Reported by Avinash Vallarapu.) * Free no longer needed remotes so they do not timeout during restore. (Reviewed by Cynthia Shang. Reported by Francisco Miguel Biete.) * Fix help when a valid option is invalid for the specified command. (Reviewed by Stefan Fercot. Reported by Cynthia Shang.) Features: * Add PostgreSQL 14 support. (Reviewed by Cynthia Shang.) * Add automatic GCS authentication for GCE instances. (Reviewed by Jan Wieck, Daniel Farina.) * Add repo-retention-history option to expire backup history. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang, David Steele.) * Add db-exclude option. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang.) Improvements: * Change archive expiration logging from detail to info level. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Remove stanza archive spool path on restore. (Reviewed by Cynthia Shang, Stefan Fercot.) * Do not write files atomically or sync paths during backup copy. (Reviewed by Stephen Frost, Stefan Fercot, Cynthia Shang.) Documentation Improvements: * Update contributing documentation. (Contributed by Cynthia Shang. Reviewed by David Steele, Stefan Fercot.) * Consolidate RHEL/CentOS user guide into a single document. (Reviewed by Cynthia Shang.) * Clarify that repo-s3-role is not an ARN. (Contributed by Isaac Yuen. Reviewed by David Steele.)
2021-06-07 12:51:08 +02:00
src/common/type/object.c:
class: core
type: c
src/common/type/object.h:
class: core
type: c/h
src/common/type/pack.c:
class: core
type: c
src/common/type/pack.h:
class: core
type: c/h
src/common/type/param.h:
class: core
type: c/h
src/common/type/string.c:
class: core
type: c
src/common/type/string.h:
class: core
type: c/h
v2.34: PostgreSQL 14 Support Bug Fixes: * Fix issues with leftover spool files from a prior restore. (Reviewed by Cynthia Shang, Stefan Fercot, Floris van Nee. Reported by Floris van Nee.) * Fix issue when checking links for large numbers of tablespaces. (Reviewed by Cynthia Shang, Avinash Vallarapu. Reported by Avinash Vallarapu.) * Free no longer needed remotes so they do not timeout during restore. (Reviewed by Cynthia Shang. Reported by Francisco Miguel Biete.) * Fix help when a valid option is invalid for the specified command. (Reviewed by Stefan Fercot. Reported by Cynthia Shang.) Features: * Add PostgreSQL 14 support. (Reviewed by Cynthia Shang.) * Add automatic GCS authentication for GCE instances. (Reviewed by Jan Wieck, Daniel Farina.) * Add repo-retention-history option to expire backup history. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang, David Steele.) * Add db-exclude option. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang.) Improvements: * Change archive expiration logging from detail to info level. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Remove stanza archive spool path on restore. (Reviewed by Cynthia Shang, Stefan Fercot.) * Do not write files atomically or sync paths during backup copy. (Reviewed by Stephen Frost, Stefan Fercot, Cynthia Shang.) Documentation Improvements: * Update contributing documentation. (Contributed by Cynthia Shang. Reviewed by David Steele, Stefan Fercot.) * Consolidate RHEL/CentOS user guide into a single document. (Reviewed by Cynthia Shang.) * Clarify that repo-s3-role is not an ARN. (Contributed by Isaac Yuen. Reviewed by David Steele.)
2021-06-07 12:51:08 +02:00
src/common/type/stringId.c:
class: core
type: c
src/common/type/stringId.h:
class: core
type: c/h
src/common/type/stringList.c:
class: core
type: c
src/common/type/stringList.h:
class: core
type: c/h
src/common/type/stringZ.h:
class: core
type: c/h
src/common/type/variant.c:
class: core
type: c
src/common/type/variant.h:
class: core
type: c/h
src/common/type/variantList.c:
class: core
type: c
src/common/type/variantList.h:
class: core
type: c/h
src/common/type/xml.c:
class: core
type: c
src/common/type/xml.h:
class: core
type: c/h
src/common/user.c:
class: core
type: c
src/common/user.h:
class: core
type: c/h
src/common/wait.c:
class: core
type: c
src/common/wait.h:
class: core
type: c/h
v2.37: TLS Server Bug Fixes: * Fix restore delta link mapping when path/file already exists. (Reviewed by Reid Thompson. Reported by Younes Alhroub.) * Fix socket leak on connection retries. (Reviewed by Reid Thompson. Reported by James Coleman.) Features: * Add TLS server. (Reviewed by Stephen Frost, Reid Thompson, Andrew L'Ecuyer.) * Add --cmd option. (Contributed by Reid Thompson. Reviewed by Stefan Fercot, David Steele. Suggested by Virgile CREVON.) Improvements: * Check archive immediately after backup start. (Reviewed by Reid Thompson, David Christensen.) * Add timeline and checkpoint checks to backup. (Reviewed by Stefan Fercot, Reid Thompson.) * Check that clusters are alive and correctly configured during a backup. (Reviewed by Stefan Fercot.) * Error when restore is unable to find a backup to match the time target. (Reviewed by Reid Thompson, Douglas J Hunley. Suggested by Douglas J Hunley.) * Parse protocol/port in S3/Azure endpoints. (Contributed by Reid Thompson. Reviewed by David Steele.) * Add warning when checkpoint_timeout exceeds db-timeout. (Contributed by Stefan Fercot. Reviewed by David Steele.) * Add verb to HTTP error output. (Contributed by Christoph Berg. Reviewed by David Steele.) * Allow y/n arguments for boolean command-line options. (Contributed by Reid Thompson. Reviewed by David Steele.) * Make backup size logging exactly match info command output. (Contributed by Reid Thompson. Reviewed by David Steele. Suggested by Mahomed Hussein.) Documentation Improvements: * Display size option default and allowed values with appropriate units. (Reviewed by Reid Thompson.) * Fix typos and improve documentation for the tablespace-map-all option. (Reviewed by Reid Thompson. Suggested by Reid Thompson.) * Remove obsolete statement about future multi-repository support. (Suggested by David Christensen.)
2022-01-03 15:43:55 +02:00
src/config/common.c:
class: core
type: c
src/config/common.h:
class: core
type: c/h
src/config/config.auto.h:
class: core/auto
type: c/h
src/config/config.c:
class: core
type: c
src/config/config.h:
class: core
type: c/h
src/config/config.intern.h:
class: core
type: c/h
src/config/exec.c:
class: core
type: c
src/config/exec.h:
class: core
type: c/h
src/config/load.c:
class: core
type: c
src/config/load.h:
class: core
type: c/h
src/config/parse.auto.c:
class: core/auto
type: c
src/config/parse.c:
class: core
type: c
src/config/parse.h:
class: core
type: c/h
src/config/protocol.c:
class: core
type: c
src/config/protocol.h:
class: core
type: c/h
src/configure:
class: build
type: make
src/db/db.c:
class: core
type: c
src/db/db.h:
class: core
type: c/h
src/db/helper.c:
class: core
type: c
src/db/helper.h:
class: core
type: c/h
src/db/protocol.c:
class: core
type: c
src/db/protocol.h:
class: core
type: c/h
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 19:19:43 +02:00
src/info/info.c:
class: core
type: c
src/info/info.h:
class: core
type: c/h
src/info/infoArchive.c:
class: core
type: c
src/info/infoArchive.h:
class: core
type: c/h
src/info/infoBackup.c:
class: core
type: c
src/info/infoBackup.h:
class: core
type: c/h
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 19:19:43 +02:00
src/info/infoPg.c:
class: core
type: c
src/info/infoPg.h:
class: core
type: c/h
src/info/manifest.c:
class: core
type: c
src/info/manifest.h:
class: core
type: c/h
src/main.c:
class: core
type: c
src/postgres/client.c:
class: core
type: c
src/postgres/client.h:
class: core
type: c/h
src/postgres/interface.c:
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
class: core
type: c
src/postgres/interface.h:
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
class: core
type: c/h
src/postgres/interface/page.c:
class: core
type: c
src/postgres/interface/pageChecksum.vendor.c:
v2.27: Expiration Improvements and Compression Drivers Bug Fixes: * Fix issue checking if file links are contained in path links. (Reviewed by Cynthia Shang. Reported by Christophe Cavallié.) * Allow pg-path1 to be optional for synchronous archive-push. (Reviewed by Cynthia Shang. Reported by Jerome Peng.) * The expire command now checks if a stop file is present. (Fixed by Cynthia Shang. Reviewed by David Steele.) * Handle missing reason phrase in HTTP response. (Reviewed by Cynthia Shang. Reported by Tenuun.) * Increase buffer size for lz4 compression flush. (Reviewed by Cynthia Shang. Reported by Eric Radman.) * Ignore pg-host* and repo-host* options for the remote command. (Reviewed by Cynthia Shang. Reported by Pavel Suderevsky.) * Fix possibly missing pg1-* options for the remote command. (Reviewed by Cynthia Shang. Reported by Andrew L'Ecuyer.) Features: * Time-based retention for full backups. The --repo-retention-full-type option allows retention of full backups based on a time period, specified in days. (Contributed by Cynthia Shang, Pierre Ducroquet. Reviewed by David Steele.) * Ad hoc backup expiration. Allow the user to remove a specified backup regardless of retention settings. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Zstandard compression support. Note that setting compress-type=zst will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. (Reviewed by Cynthia Shang.) * bzip2 compression support. Note that setting compress-type=bz2 will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. (Contributed by Stephen Frost. Reviewed by David Steele, Cynthia Shang.) * Add backup/expire running status to the info command. (Contributed by Stefan Fercot. Reviewed by David Steele.) Improvements: * Expire WAL archive only when repo-retention-archive threshold is met. WAL prior to the first full backup was previously expired after the first full backup. Now it is preserved according to retention settings. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Add local MD5 implementation so S3 works when FIPS is enabled. (Reviewed by Cynthia Shang, Stephen Frost. Suggested by Brian Almeida, John Kelley.) * PostgreSQL 13 beta1 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. (Reviewed by Cynthia Shang.) * Reduce buffer-size default to 1MiB. (Reviewed by Stephen Frost.) * Throw user-friendly error if expire is not run on repository host. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2020-05-26 14:11:50 +02:00
class: core/vendor
type: c
src/postgres/interface/static.vendor.h:
v2.27: Expiration Improvements and Compression Drivers Bug Fixes: * Fix issue checking if file links are contained in path links. (Reviewed by Cynthia Shang. Reported by Christophe Cavallié.) * Allow pg-path1 to be optional for synchronous archive-push. (Reviewed by Cynthia Shang. Reported by Jerome Peng.) * The expire command now checks if a stop file is present. (Fixed by Cynthia Shang. Reviewed by David Steele.) * Handle missing reason phrase in HTTP response. (Reviewed by Cynthia Shang. Reported by Tenuun.) * Increase buffer size for lz4 compression flush. (Reviewed by Cynthia Shang. Reported by Eric Radman.) * Ignore pg-host* and repo-host* options for the remote command. (Reviewed by Cynthia Shang. Reported by Pavel Suderevsky.) * Fix possibly missing pg1-* options for the remote command. (Reviewed by Cynthia Shang. Reported by Andrew L'Ecuyer.) Features: * Time-based retention for full backups. The --repo-retention-full-type option allows retention of full backups based on a time period, specified in days. (Contributed by Cynthia Shang, Pierre Ducroquet. Reviewed by David Steele.) * Ad hoc backup expiration. Allow the user to remove a specified backup regardless of retention settings. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Zstandard compression support. Note that setting compress-type=zst will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. (Reviewed by Cynthia Shang.) * bzip2 compression support. Note that setting compress-type=bz2 will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. (Contributed by Stephen Frost. Reviewed by David Steele, Cynthia Shang.) * Add backup/expire running status to the info command. (Contributed by Stefan Fercot. Reviewed by David Steele.) Improvements: * Expire WAL archive only when repo-retention-archive threshold is met. WAL prior to the first full backup was previously expired after the first full backup. Now it is preserved according to retention settings. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Add local MD5 implementation so S3 works when FIPS is enabled. (Reviewed by Cynthia Shang, Stephen Frost. Suggested by Brian Almeida, John Kelley.) * PostgreSQL 13 beta1 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. (Reviewed by Cynthia Shang.) * Reduce buffer-size default to 1MiB. (Reviewed by Stephen Frost.) * Throw user-friendly error if expire is not run on repository host. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2020-05-26 14:11:50 +02:00
class: core/vendor
type: c/h
src/postgres/interface/v090.c:
class: core
type: c
src/postgres/interface/v091.c:
class: core
type: c
src/postgres/interface/v092.c:
class: core
type: c
src/postgres/interface/v093.c:
class: core
type: c
src/postgres/interface/v094.c:
class: core
type: c
src/postgres/interface/v095.c:
class: core
type: c
src/postgres/interface/v096.c:
class: core
type: c
src/postgres/interface/v100.c:
class: core
type: c
src/postgres/interface/v110.c:
class: core
type: c
src/postgres/interface/v120.c:
class: core
type: c
v2.27: Expiration Improvements and Compression Drivers Bug Fixes: * Fix issue checking if file links are contained in path links. (Reviewed by Cynthia Shang. Reported by Christophe Cavallié.) * Allow pg-path1 to be optional for synchronous archive-push. (Reviewed by Cynthia Shang. Reported by Jerome Peng.) * The expire command now checks if a stop file is present. (Fixed by Cynthia Shang. Reviewed by David Steele.) * Handle missing reason phrase in HTTP response. (Reviewed by Cynthia Shang. Reported by Tenuun.) * Increase buffer size for lz4 compression flush. (Reviewed by Cynthia Shang. Reported by Eric Radman.) * Ignore pg-host* and repo-host* options for the remote command. (Reviewed by Cynthia Shang. Reported by Pavel Suderevsky.) * Fix possibly missing pg1-* options for the remote command. (Reviewed by Cynthia Shang. Reported by Andrew L'Ecuyer.) Features: * Time-based retention for full backups. The --repo-retention-full-type option allows retention of full backups based on a time period, specified in days. (Contributed by Cynthia Shang, Pierre Ducroquet. Reviewed by David Steele.) * Ad hoc backup expiration. Allow the user to remove a specified backup regardless of retention settings. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Zstandard compression support. Note that setting compress-type=zst will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. (Reviewed by Cynthia Shang.) * bzip2 compression support. Note that setting compress-type=bz2 will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. (Contributed by Stephen Frost. Reviewed by David Steele, Cynthia Shang.) * Add backup/expire running status to the info command. (Contributed by Stefan Fercot. Reviewed by David Steele.) Improvements: * Expire WAL archive only when repo-retention-archive threshold is met. WAL prior to the first full backup was previously expired after the first full backup. Now it is preserved according to retention settings. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Add local MD5 implementation so S3 works when FIPS is enabled. (Reviewed by Cynthia Shang, Stephen Frost. Suggested by Brian Almeida, John Kelley.) * PostgreSQL 13 beta1 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. (Reviewed by Cynthia Shang.) * Reduce buffer-size default to 1MiB. (Reviewed by Stephen Frost.) * Throw user-friendly error if expire is not run on repository host. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2020-05-26 14:11:50 +02:00
src/postgres/interface/v130.c:
class: core
type: c
v2.34: PostgreSQL 14 Support Bug Fixes: * Fix issues with leftover spool files from a prior restore. (Reviewed by Cynthia Shang, Stefan Fercot, Floris van Nee. Reported by Floris van Nee.) * Fix issue when checking links for large numbers of tablespaces. (Reviewed by Cynthia Shang, Avinash Vallarapu. Reported by Avinash Vallarapu.) * Free no longer needed remotes so they do not timeout during restore. (Reviewed by Cynthia Shang. Reported by Francisco Miguel Biete.) * Fix help when a valid option is invalid for the specified command. (Reviewed by Stefan Fercot. Reported by Cynthia Shang.) Features: * Add PostgreSQL 14 support. (Reviewed by Cynthia Shang.) * Add automatic GCS authentication for GCE instances. (Reviewed by Jan Wieck, Daniel Farina.) * Add repo-retention-history option to expire backup history. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang, David Steele.) * Add db-exclude option. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang.) Improvements: * Change archive expiration logging from detail to info level. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Remove stanza archive spool path on restore. (Reviewed by Cynthia Shang, Stefan Fercot.) * Do not write files atomically or sync paths during backup copy. (Reviewed by Stephen Frost, Stefan Fercot, Cynthia Shang.) Documentation Improvements: * Update contributing documentation. (Contributed by Cynthia Shang. Reviewed by David Steele, Stefan Fercot.) * Consolidate RHEL/CentOS user guide into a single document. (Reviewed by Cynthia Shang.) * Clarify that repo-s3-role is not an ARN. (Contributed by Isaac Yuen. Reviewed by David Steele.)
2021-06-07 12:51:08 +02:00
src/postgres/interface/v140.c:
class: core
type: c
src/postgres/interface/version.h:
class: core
type: c/h
src/postgres/interface/version.intern.h:
class: core
type: c/h
v2.27: Expiration Improvements and Compression Drivers Bug Fixes: * Fix issue checking if file links are contained in path links. (Reviewed by Cynthia Shang. Reported by Christophe Cavallié.) * Allow pg-path1 to be optional for synchronous archive-push. (Reviewed by Cynthia Shang. Reported by Jerome Peng.) * The expire command now checks if a stop file is present. (Fixed by Cynthia Shang. Reviewed by David Steele.) * Handle missing reason phrase in HTTP response. (Reviewed by Cynthia Shang. Reported by Tenuun.) * Increase buffer size for lz4 compression flush. (Reviewed by Cynthia Shang. Reported by Eric Radman.) * Ignore pg-host* and repo-host* options for the remote command. (Reviewed by Cynthia Shang. Reported by Pavel Suderevsky.) * Fix possibly missing pg1-* options for the remote command. (Reviewed by Cynthia Shang. Reported by Andrew L'Ecuyer.) Features: * Time-based retention for full backups. The --repo-retention-full-type option allows retention of full backups based on a time period, specified in days. (Contributed by Cynthia Shang, Pierre Ducroquet. Reviewed by David Steele.) * Ad hoc backup expiration. Allow the user to remove a specified backup regardless of retention settings. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Zstandard compression support. Note that setting compress-type=zst will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. (Reviewed by Cynthia Shang.) * bzip2 compression support. Note that setting compress-type=bz2 will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. (Contributed by Stephen Frost. Reviewed by David Steele, Cynthia Shang.) * Add backup/expire running status to the info command. (Contributed by Stefan Fercot. Reviewed by David Steele.) Improvements: * Expire WAL archive only when repo-retention-archive threshold is met. WAL prior to the first full backup was previously expired after the first full backup. Now it is preserved according to retention settings. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Add local MD5 implementation so S3 works when FIPS is enabled. (Reviewed by Cynthia Shang, Stephen Frost. Suggested by Brian Almeida, John Kelley.) * PostgreSQL 13 beta1 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. (Reviewed by Cynthia Shang.) * Reduce buffer-size default to 1MiB. (Reviewed by Stephen Frost.) * Throw user-friendly error if expire is not run on repository host. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2020-05-26 14:11:50 +02:00
src/postgres/interface/version.vendor.h:
class: core/vendor
type: c/h
src/postgres/version.h:
class: core
type: c/h
src/protocol/client.c:
class: core
type: c
src/protocol/client.h:
class: core
type: c/h
src/protocol/command.c:
class: core
type: c
src/protocol/command.h:
class: core
type: c/h
src/protocol/helper.c:
class: core
type: c
src/protocol/helper.h:
class: core
type: c/h
src/protocol/parallel.c:
class: core
type: c
src/protocol/parallel.h:
class: core
type: c/h
src/protocol/parallelJob.c:
class: core
type: c
src/protocol/parallelJob.h:
class: core
type: c/h
src/protocol/server.c:
class: core
type: c
src/protocol/server.h:
class: core
type: c/h
src/storage/azure/helper.c:
class: core
type: c
src/storage/azure/helper.h:
class: core
type: c/h
v2.28: Azure Repository Storage Bug Fixes: * Fix restore --force acting like --force --delta. This caused restore to replace files based on timestamp and size rather than overwriting, which meant some files that should have been updated were left unchanged. Normal restore and restore --delta were not affected by this issue. (Reviewed by Cynthia Shang.) Features: * Azure support for repository storage. (Reviewed by Cynthia Shang, Don Seiler.) * Add expire-auto option. This allows automatic expiration after a successful backup to be disabled. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang, David Steele.) Improvements: * Asynchronous S3 multipart upload. (Reviewed by Stephen Frost.) * Automatic retry for backup, restore, archive-get, and archive-push. (Reviewed by Cynthia Shang.) * Disable query parallelism in PostgreSQL sessions used for backup control. (Reviewed by Stefan Fercot.) * PostgreSQL 13 beta2 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. * Improve handling of invalid HTTP response status. (Reviewed by Cynthia Shang.) * Improve error when pg1-path option missing for archive-get command. (Reviewed by Cynthia Shang.) * Add hint when checksum delta is enabled after a timeline switch. (Reviewed by Matt Bunter, Cynthia Shang.) * Use PostgreSQL instead of postmaster where appropriate. (Reviewed by Cynthia Shang.) Documentation Bug Fixes: * Fix incorrect example for repo-retention-full-type option. (Reported by Höseyin Sönmez.) * Remove internal commands from HTML and man command references. (Reported by Cynthia Shang.) Documentation Improvements: * Update PostgreSQL versions used to build user guides. Also add version ranges to indicate that a user guide is accurate for a range of PostgreSQL versions even if it was built for a specific version. (Reviewed by Stephen Frost.) * Update FAQ for expiring a specific backup set. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Update FAQ to clarify default PITR behavior. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2020-07-20 14:57:22 +02:00
src/storage/azure/read.c:
class: core
type: c
src/storage/azure/read.h:
class: core
type: c/h
src/storage/azure/storage.c:
class: core
type: c
src/storage/azure/storage.h:
class: core
type: c/h
src/storage/azure/storage.intern.h:
class: core
type: c/h
src/storage/azure/write.c:
class: core
type: c
src/storage/azure/write.h:
class: core
type: c/h
src/storage/cifs/helper.c:
class: core
type: c
src/storage/cifs/helper.h:
class: core
type: c/h
src/storage/cifs/storage.c:
class: core
type: c
src/storage/cifs/storage.h:
class: core
type: c/h
src/storage/gcs/helper.c:
class: core
type: c
src/storage/gcs/helper.h:
class: core
type: c/h
v2.33: Multi-Repository and GCS Support Bug Fixes: * Fix option warnings breaking async archive-get/archive-push. (Reviewed by Cynthia Shang. Reported by Lev Kokotov.) * Fix memory leak in backup during archive copy. (Reviewed by Cynthia Shang. Reported by Christian ROUX, Efremov Egor.) * Fix stack overflow in cipher passphrase generation. (Reviewed by Cynthia Shang. Reported by bsiara.) * Fix repo-ls / on S3 repositories. (Reviewed by Cynthia Shang. Reported by Lesovsky Alexey.) Features: * Multiple repository support. (Contributed by Cynthia Shang, David Steele. Reviewed by Stefan Fercot, Stephen Frost.) * GCS support for repository storage. (Reviewed by Cynthia Shang.) * Add archive-header-check option. (Reviewed by Stephen Frost, Cynthia Shang. Suggested by Hans-Jürgen Schönig.) Improvements: * Include recreated system databases during selective restore. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang.) * Exclude content-length from S3 signed headers. (Reviewed by Cynthia Shang. Suggested by Brian P Bockelman.) * Consolidate less commonly used repository storage options. (Reviewed by Cynthia Shang.) * Allow custom config-path default with ./configure --with-configdir. (Contributed by Michael Schout. Reviewed by David Steele.) * Log archive copy during backup. (Reviewed by Cynthia Shang, Stefan Fercot.) Documentation Improvements: * Update reference to include links to user guide examples. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Update selective restore documentation with caveats. (Reviewed by Cynthia Shang, Stefan Fercot.) * Add compress-type clarification to archive-copy documentation. (Reviewed by Cynthia Shang, Stefan Fercot.) * Add compress-level defaults per compress-type value. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Add note about required NFS settings being the same as PostgreSQL. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2021-04-05 15:18:20 +02:00
src/storage/gcs/read.c:
class: core
type: c
src/storage/gcs/read.h:
class: core
type: c/h
src/storage/gcs/storage.c:
class: core
type: c
src/storage/gcs/storage.h:
class: core
type: c/h
src/storage/gcs/storage.intern.h:
class: core
type: c/h
src/storage/gcs/write.c:
class: core
type: c
src/storage/gcs/write.h:
class: core
type: c/h
src/storage/helper.c:
class: core
type: c
src/storage/helper.h:
class: core
type: c/h
src/storage/info.h:
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
class: core
type: c/h
src/storage/posix/read.c:
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
class: core
type: c
src/storage/posix/read.h:
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
class: core
type: c/h
src/storage/posix/storage.c:
class: core
type: c
src/storage/posix/storage.h:
class: core
type: c/h
src/storage/posix/storage.intern.h:
class: core
type: c/h
src/storage/posix/write.c:
class: core
type: c
src/storage/posix/write.h:
class: core
type: c/h
src/storage/read.c:
class: core
type: c
src/storage/read.h:
class: core
type: c/h
src/storage/read.intern.h:
class: core
type: c/h
src/storage/remote/protocol.c:
class: core
type: c
src/storage/remote/protocol.h:
class: core
type: c/h
src/storage/remote/read.c:
class: core
type: c
src/storage/remote/read.h:
class: core
type: c/h
src/storage/remote/storage.c:
class: core
type: c
src/storage/remote/storage.h:
class: core
type: c/h
src/storage/remote/storage.intern.h:
class: core
type: c/h
src/storage/remote/write.c:
class: core
type: c
src/storage/remote/write.h:
class: core
type: c/h
src/storage/s3/helper.c:
class: core
type: c
src/storage/s3/helper.h:
class: core
type: c/h
src/storage/s3/read.c:
class: core
type: c
src/storage/s3/read.h:
class: core
type: c/h
src/storage/s3/storage.c:
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
class: core
type: c
src/storage/s3/storage.h:
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
class: core
type: c/h
src/storage/s3/storage.intern.h:
class: core
type: c/h
src/storage/s3/write.c:
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
class: core
type: c
src/storage/s3/write.h:
class: core
type: c/h
src/storage/storage.c:
class: core
type: c
src/storage/storage.h:
class: core
type: c/h
src/storage/storage.intern.h:
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
class: core
type: c/h
src/storage/write.c:
class: core
type: c
src/storage/write.h:
class: core
type: c/h
src/storage/write.intern.h:
class: core
type: c/h
src/version.h:
class: core
type: c/h
test/ci.pl:
class: test/harness
type: perl
test/container.yaml:
class: test/harness
type: yaml
test/define.yaml:
class: test/harness
type: yaml
test/lib/pgBackRestTest/Common/BuildTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/CodeCountTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/ContainerTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/CoverageTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/DbVersion.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/DefineTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/ExecuteTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/FileTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/HostGroupTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/HostTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/Io/Base.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/Io/Buffered.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/Io/Filter.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/Io/Handle.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/Io/Process.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/JobTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/ListTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/LogTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/RunTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/Storage.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/StorageBase.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/StoragePosix.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/StoragePosixRead.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/StoragePosixWrite.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/StorageRepo.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/VmTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/Wait.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/ArchiveInfo.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/BackupInfo.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/ExpireEnvTest.pm:
class: test/harness
type: perl
v2.28: Azure Repository Storage Bug Fixes: * Fix restore --force acting like --force --delta. This caused restore to replace files based on timestamp and size rather than overwriting, which meant some files that should have been updated were left unchanged. Normal restore and restore --delta were not affected by this issue. (Reviewed by Cynthia Shang.) Features: * Azure support for repository storage. (Reviewed by Cynthia Shang, Don Seiler.) * Add expire-auto option. This allows automatic expiration after a successful backup to be disabled. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang, David Steele.) Improvements: * Asynchronous S3 multipart upload. (Reviewed by Stephen Frost.) * Automatic retry for backup, restore, archive-get, and archive-push. (Reviewed by Cynthia Shang.) * Disable query parallelism in PostgreSQL sessions used for backup control. (Reviewed by Stefan Fercot.) * PostgreSQL 13 beta2 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. * Improve handling of invalid HTTP response status. (Reviewed by Cynthia Shang.) * Improve error when pg1-path option missing for archive-get command. (Reviewed by Cynthia Shang.) * Add hint when checksum delta is enabled after a timeline switch. (Reviewed by Matt Bunter, Cynthia Shang.) * Use PostgreSQL instead of postmaster where appropriate. (Reviewed by Cynthia Shang.) Documentation Bug Fixes: * Fix incorrect example for repo-retention-full-type option. (Reported by Höseyin Sönmez.) * Remove internal commands from HTML and man command references. (Reported by Cynthia Shang.) Documentation Improvements: * Update PostgreSQL versions used to build user guides. Also add version ranges to indicate that a user guide is accurate for a range of PostgreSQL versions even if it was built for a specific version. (Reviewed by Stephen Frost.) * Update FAQ for expiring a specific backup set. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Update FAQ to clarify default PITR behavior. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2020-07-20 14:57:22 +02:00
test/lib/pgBackRestTest/Env/Host/HostAzureTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostBackupTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostBaseTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostDbCommonTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostDbSyntheticTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostDbTest.pm:
class: test/harness
type: perl
v2.33: Multi-Repository and GCS Support Bug Fixes: * Fix option warnings breaking async archive-get/archive-push. (Reviewed by Cynthia Shang. Reported by Lev Kokotov.) * Fix memory leak in backup during archive copy. (Reviewed by Cynthia Shang. Reported by Christian ROUX, Efremov Egor.) * Fix stack overflow in cipher passphrase generation. (Reviewed by Cynthia Shang. Reported by bsiara.) * Fix repo-ls / on S3 repositories. (Reviewed by Cynthia Shang. Reported by Lesovsky Alexey.) Features: * Multiple repository support. (Contributed by Cynthia Shang, David Steele. Reviewed by Stefan Fercot, Stephen Frost.) * GCS support for repository storage. (Reviewed by Cynthia Shang.) * Add archive-header-check option. (Reviewed by Stephen Frost, Cynthia Shang. Suggested by Hans-Jürgen Schönig.) Improvements: * Include recreated system databases during selective restore. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang.) * Exclude content-length from S3 signed headers. (Reviewed by Cynthia Shang. Suggested by Brian P Bockelman.) * Consolidate less commonly used repository storage options. (Reviewed by Cynthia Shang.) * Allow custom config-path default with ./configure --with-configdir. (Contributed by Michael Schout. Reviewed by David Steele.) * Log archive copy during backup. (Reviewed by Cynthia Shang, Stefan Fercot.) Documentation Improvements: * Update reference to include links to user guide examples. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Update selective restore documentation with caveats. (Reviewed by Cynthia Shang, Stefan Fercot.) * Add compress-type clarification to archive-copy documentation. (Reviewed by Cynthia Shang, Stefan Fercot.) * Add compress-level defaults per compress-type value. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Add note about required NFS settings being the same as PostgreSQL. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2021-04-05 15:18:20 +02:00
test/lib/pgBackRestTest/Env/Host/HostGcsTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostS3Test.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/HostEnvTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/InfoCommon.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Manifest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Module/Mock/MockAllTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Mock/MockArchiveStopTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Mock/MockArchiveTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Mock/MockExpireTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Mock/MockStanzaTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Performance/PerformanceArchivePerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Real/RealAllTest.pm:
class: test/module
type: perl
test/src/common/harnessConfig.c:
class: test/harness
type: c
test/src/common/harnessConfig.h:
class: test/harness
type: c/h
test/src/common/harnessDebug.h:
class: test/harness
type: c/h
v2.35: Binary Protocol IMPORTANT NOTE: The log level for copied files in the backup/restore commands has been changed to detail. This makes the info log level less noisy but if these messages are required then set the log level for the backup/restore commands to detail. Bug Fixes: * Detect errors in S3 multi-part upload finalize. (Reviewed by Cynthia Shang, Marco Montagna. Reported by Marco Montagna, Lev Kokotov, Anderson A. Mallmann.) * Fix detection of circular symlinks. (Reviewed by Stefan Fercot. Reported by Rohit Raveendran.) * Only pass selected repo options to the remote. (Reviewed by David Christensen, Cynthia Shang. Reported by Greg Sabino Mullane, David Christensen.) Improvements: * Binary protocol. (Reviewed by Cynthia Shang.) * Automatically create data directory on restore. (Contributed by Stefan Fercot. Reviewed by David Steele. Suggested by Chris Bandy.) * Allow restore --type=lsn. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang. Suggested by James Coleman.) * Change level of backup/restore copied file logging to detail. (Reviewed by Stefan Fercot. Suggested by Jens Wilke.) * Loop while waiting for checkpoint LSN to reach replay LSN. (Contributed by Stefan Fercot. Reviewed by David Steele. Suggested by Fatih Mencutekin.) * Log backup file total and restore size/file total. (Reviewed by Cynthia Shang.) Documentation Bug Fixes: * Fix incorrect host names in user guide. (Reviewed by Stefan Fercot. Reported by Greg Sabino Mullane.) Documentation Improvements: * Update contributing documentation and add pull request template. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Rearrange backup documentation in user guide. (Reviewed by Cynthia Shang.) * Clarify restore --type behavior in command reference. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Fix documentation and comment typos. (Contributed by Eric Radman. Reviewed by David Steele.) Test Suite Improvements: * Add check for test path inside repo path. (Reviewed by Greg Sabino Mullane. Suggested by Greg Sabino Mullane.) * Add CodeQL static code analysis. (Reviewed by Cynthia Shang.) * Update tests to use standard patterns. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2021-08-23 12:52:51 +02:00
test/src/common/harnessError.c:
class: test/harness
type: c
test/src/common/harnessError.h:
class: test/harness
type: c/h
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
test/src/common/harnessFork.h:
class: test/harness
type: c/h
test/src/common/harnessInfo.c:
class: test/harness
type: c
test/src/common/harnessInfo.h:
class: test/harness
type: c/h
test/src/common/harnessLog.c:
class: test/harness
type: c
test/src/common/harnessLog.h:
class: test/harness
type: c/h
test/src/common/harnessPack.c:
class: test/harness
type: c
test/src/common/harnessPack.h:
class: test/harness
type: c/h
v2.34: PostgreSQL 14 Support Bug Fixes: * Fix issues with leftover spool files from a prior restore. (Reviewed by Cynthia Shang, Stefan Fercot, Floris van Nee. Reported by Floris van Nee.) * Fix issue when checking links for large numbers of tablespaces. (Reviewed by Cynthia Shang, Avinash Vallarapu. Reported by Avinash Vallarapu.) * Free no longer needed remotes so they do not timeout during restore. (Reviewed by Cynthia Shang. Reported by Francisco Miguel Biete.) * Fix help when a valid option is invalid for the specified command. (Reviewed by Stefan Fercot. Reported by Cynthia Shang.) Features: * Add PostgreSQL 14 support. (Reviewed by Cynthia Shang.) * Add automatic GCS authentication for GCE instances. (Reviewed by Jan Wieck, Daniel Farina.) * Add repo-retention-history option to expire backup history. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang, David Steele.) * Add db-exclude option. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang.) Improvements: * Change archive expiration logging from detail to info level. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Remove stanza archive spool path on restore. (Reviewed by Cynthia Shang, Stefan Fercot.) * Do not write files atomically or sync paths during backup copy. (Reviewed by Stephen Frost, Stefan Fercot, Cynthia Shang.) Documentation Improvements: * Update contributing documentation. (Contributed by Cynthia Shang. Reviewed by David Steele, Stefan Fercot.) * Consolidate RHEL/CentOS user guide into a single document. (Reviewed by Cynthia Shang.) * Clarify that repo-s3-role is not an ARN. (Contributed by Isaac Yuen. Reviewed by David Steele.)
2021-06-07 12:51:08 +02:00
test/src/common/harnessPostgres.c:
class: test/harness
type: c
test/src/common/harnessPostgres.h:
class: test/harness
type: c/h
test/src/common/harnessPostgres/harness090.c:
class: test/harness
type: c
test/src/common/harnessPostgres/harness091.c:
class: test/harness
type: c
test/src/common/harnessPostgres/harness092.c:
class: test/harness
type: c
test/src/common/harnessPostgres/harness093.c:
class: test/harness
type: c
test/src/common/harnessPostgres/harness094.c:
class: test/harness
type: c
test/src/common/harnessPostgres/harness095.c:
class: test/harness
type: c
test/src/common/harnessPostgres/harness096.c:
class: test/harness
type: c
test/src/common/harnessPostgres/harness100.c:
class: test/harness
type: c
test/src/common/harnessPostgres/harness110.c:
class: test/harness
type: c
test/src/common/harnessPostgres/harness120.c:
class: test/harness
type: c
test/src/common/harnessPostgres/harness130.c:
class: test/harness
type: c
test/src/common/harnessPostgres/harness140.c:
class: test/harness
type: c
test/src/common/harnessPostgres/harnessVersion.intern.h:
class: test/harness
type: c/h
test/src/common/harnessPq.c:
class: test/harness
type: c
test/src/common/harnessPq.h:
class: test/harness
type: c/h
v2.34: PostgreSQL 14 Support Bug Fixes: * Fix issues with leftover spool files from a prior restore. (Reviewed by Cynthia Shang, Stefan Fercot, Floris van Nee. Reported by Floris van Nee.) * Fix issue when checking links for large numbers of tablespaces. (Reviewed by Cynthia Shang, Avinash Vallarapu. Reported by Avinash Vallarapu.) * Free no longer needed remotes so they do not timeout during restore. (Reviewed by Cynthia Shang. Reported by Francisco Miguel Biete.) * Fix help when a valid option is invalid for the specified command. (Reviewed by Stefan Fercot. Reported by Cynthia Shang.) Features: * Add PostgreSQL 14 support. (Reviewed by Cynthia Shang.) * Add automatic GCS authentication for GCE instances. (Reviewed by Jan Wieck, Daniel Farina.) * Add repo-retention-history option to expire backup history. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang, David Steele.) * Add db-exclude option. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang.) Improvements: * Change archive expiration logging from detail to info level. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Remove stanza archive spool path on restore. (Reviewed by Cynthia Shang, Stefan Fercot.) * Do not write files atomically or sync paths during backup copy. (Reviewed by Stephen Frost, Stefan Fercot, Cynthia Shang.) Documentation Improvements: * Update contributing documentation. (Contributed by Cynthia Shang. Reviewed by David Steele, Stefan Fercot.) * Consolidate RHEL/CentOS user guide into a single document. (Reviewed by Cynthia Shang.) * Clarify that repo-s3-role is not an ARN. (Contributed by Isaac Yuen. Reviewed by David Steele.)
2021-06-07 12:51:08 +02:00
test/src/common/harnessProtocol.c:
class: test/harness
type: c
test/src/common/harnessProtocol.h:
class: test/harness
type: c/h
test/src/common/harnessServer.c:
class: test/harness
type: c
test/src/common/harnessServer.h:
class: test/harness
type: c/h
test/src/common/harnessStorage.c:
class: test/harness
type: c
test/src/common/harnessStorage.h:
class: test/harness
type: c/h
test/src/common/harnessTest.c:
class: test/harness
type: c
test/src/common/harnessTest.h:
class: test/harness
type: c/h
test/src/common/harnessTest.intern.h:
class: test/harness
type: c/h
v2.35: Binary Protocol IMPORTANT NOTE: The log level for copied files in the backup/restore commands has been changed to detail. This makes the info log level less noisy but if these messages are required then set the log level for the backup/restore commands to detail. Bug Fixes: * Detect errors in S3 multi-part upload finalize. (Reviewed by Cynthia Shang, Marco Montagna. Reported by Marco Montagna, Lev Kokotov, Anderson A. Mallmann.) * Fix detection of circular symlinks. (Reviewed by Stefan Fercot. Reported by Rohit Raveendran.) * Only pass selected repo options to the remote. (Reviewed by David Christensen, Cynthia Shang. Reported by Greg Sabino Mullane, David Christensen.) Improvements: * Binary protocol. (Reviewed by Cynthia Shang.) * Automatically create data directory on restore. (Contributed by Stefan Fercot. Reviewed by David Steele. Suggested by Chris Bandy.) * Allow restore --type=lsn. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang. Suggested by James Coleman.) * Change level of backup/restore copied file logging to detail. (Reviewed by Stefan Fercot. Suggested by Jens Wilke.) * Loop while waiting for checkpoint LSN to reach replay LSN. (Contributed by Stefan Fercot. Reviewed by David Steele. Suggested by Fatih Mencutekin.) * Log backup file total and restore size/file total. (Reviewed by Cynthia Shang.) Documentation Bug Fixes: * Fix incorrect host names in user guide. (Reviewed by Stefan Fercot. Reported by Greg Sabino Mullane.) Documentation Improvements: * Update contributing documentation and add pull request template. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Rearrange backup documentation in user guide. (Reviewed by Cynthia Shang.) * Clarify restore --type behavior in command reference. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Fix documentation and comment typos. (Contributed by Eric Radman. Reviewed by David Steele.) Test Suite Improvements: * Add check for test path inside repo path. (Reviewed by Greg Sabino Mullane. Suggested by Greg Sabino Mullane.) * Add CodeQL static code analysis. (Reviewed by Cynthia Shang.) * Update tests to use standard patterns. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2021-08-23 12:52:51 +02:00
test/src/module/build/commonTest.c:
class: test/module
type: c
test/src/module/build/configTest.c:
class: test/module
type: c
test/src/module/build/errorTest.c:
class: test/module
type: c
test/src/module/build/helpTest.c:
class: test/module
type: c
test/src/module/command/archiveCommonTest.c:
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
class: test/module
type: c
test/src/module/command/archiveGetTest.c:
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
class: test/module
type: c
test/src/module/command/archivePushTest.c:
class: test/module
type: c
test/src/module/command/backupTest.c:
class: test/module
type: c
test/src/module/command/checkTest.c:
class: test/module
type: c
test/src/module/command/commandTest.c:
class: test/module
type: c
test/src/module/command/controlTest.c:
class: test/module
type: c
test/src/module/command/expireTest.c:
class: test/module
type: c
test/src/module/command/helpTest.c:
class: test/module
type: c
test/src/module/command/infoTest.c:
class: test/module
type: c
test/src/module/command/localTest.c:
class: test/module
type: c
test/src/module/command/remoteTest.c:
class: test/module
type: c
test/src/module/command/repoTest.c:
class: test/module
type: c
test/src/module/command/restoreTest.c:
class: test/module
type: c
test/src/module/command/serverTest.c:
class: test/module
type: c
test/src/module/command/stanzaTest.c:
class: test/module
type: c
test/src/module/command/verifyTest.c:
class: test/module
type: c
test/src/module/common/assertOffTest.c:
class: test/module
type: c
test/src/module/common/assertOnTest.c:
class: test/module
type: c
test/src/module/common/compressTest.c:
class: test/module
type: c
test/src/module/common/cryptoTest.c:
class: test/module
type: c
test/src/module/common/debugOffTest.c:
class: test/module
type: c
test/src/module/common/debugOnTest.c:
class: test/module
type: c
test/src/module/common/encodeTest.c:
class: test/module
type: c
test/src/module/common/errorTest.c:
class: test/module
type: c
test/src/module/common/execTest.c:
class: test/module
type: c
test/src/module/common/exitTest.c:
class: test/module
type: c
test/src/module/common/forkTest.c:
class: test/module
type: c
test/src/module/common/iniTest.c:
class: test/module
type: c
test/src/module/common/ioHttpTest.c:
class: test/module
type: c
test/src/module/common/ioTest.c:
class: test/module
type: c
test/src/module/common/ioTlsTest.c:
class: test/module
type: c
test/src/module/common/lockTest.c:
class: test/module
type: c
test/src/module/common/logTest.c:
class: test/module
type: c
test/src/module/common/memContextTest.c:
class: test/module
type: c
test/src/module/common/regExpTest.c:
class: test/module
type: c
test/src/module/common/stackTraceTest.c:
class: test/module
type: c
v2.29: Auto S3 Credentials on AWS Bug Fixes: * Suppress errors when closing local/remote processes. Since the command has completed it is counterproductive to throw an error but still warn to indicate that something unusual happened. (Reviewed by Cynthia Shang. Reported by argdenis.) * Fix issue with = character in file or database names. (Reviewed by Bastian Wegge, Cynthia Shang. Reported by Brad Nicholson, Bastian Wegge.) Features: * Automatically retrieve temporary S3 credentials on AWS instances. (Contributed by David Steele, Stephen Frost. Reviewed by Cynthia Shang, David Youatt, Aleš Zelený, Jeanette Bromage.) * Add archive-mode option to disable archiving on restore. (Reviewed by Stephen Frost. Suggested by Stephen Frost.) Improvements: * PostgreSQL 13 beta3 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. * Asynchronous list/remove for S3/Azure storage. (Reviewed by Cynthia Shang, Stephen Frost.) * Improve memory usage of unlogged relation detection in manifest build. (Reviewed by Cynthia Shang, Stephen Frost, Brad Nicholson, Oscar. Suggested by Oscar, Brad Nicholson.) * Proactively close file descriptors after forking async process. (Reviewed by Stephen Frost, Cynthia Shang.) * Delay backup remote connection close until after archive check. (Contributed by Floris van Nee. Reviewed by David Steele.) * Improve detailed error output. (Reviewed by Cynthia Shang.) * Improve TLS error reporting. (Reviewed by Cynthia Shang, Stephen Frost.) Documentation Bug Fixes: * Add none to compress-type option reference and fix example. (Reported by Ugo Bellavance, Don Seiler.) * Add missing azure type in repo-type option reference. (Fixed by Don Seiler. Reviewed by David Steele.) * Fix typo in repo-cipher-type option reference. (Fixed by Don Seiler. Reviewed by David Steele.) Documentation Improvements: * Clarify that expire must be run regularly when expire-auto is disabled. (Reviewed by Douglas J Hunley. Suggested by Douglas J Hunley.)
2020-08-31 13:28:22 +02:00
test/src/module/common/statTest.c:
class: test/module
type: c
test/src/module/common/timeTest.c:
class: test/module
type: c
test/src/module/common/typeBufferTest.c:
class: test/module
type: c
test/src/module/common/typeConvertTest.c:
class: test/module
type: c
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 19:19:43 +02:00
test/src/module/common/typeJsonTest.c:
class: test/module
type: c
test/src/module/common/typeKeyValueTest.c:
class: test/module
type: c
test/src/module/common/typeListTest.c:
class: test/module
type: c
test/src/module/common/typeObjectTest.c:
class: test/module
type: c
test/src/module/common/typePackTest.c:
class: test/module
type: c
test/src/module/common/typeStringTest.c:
class: test/module
type: c
test/src/module/common/typeVariantTest.c:
class: test/module
type: c
test/src/module/common/typeXmlTest.c:
class: test/module
type: c
test/src/module/common/typecTest.c:
class: test/module
type: c
test/src/module/common/userTest.c:
class: test/module
type: c
test/src/module/common/waitTest.c:
class: test/module
type: c
test/src/module/config/execTest.c:
class: test/module
type: c
test/src/module/config/loadTest.c:
class: test/module
type: c
test/src/module/config/parseTest.c:
class: test/module
type: c
test/src/module/config/protocolTest.c:
class: test/module
type: c
test/src/module/db/dbTest.c:
class: test/module
type: c
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 19:19:43 +02:00
test/src/module/info/infoArchiveTest.c:
class: test/module
type: c
test/src/module/info/infoBackupTest.c:
class: test/module
type: c
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 19:19:43 +02:00
test/src/module/info/infoPgTest.c:
class: test/module
type: c
test/src/module/info/infoTest.c:
class: test/module
type: c
test/src/module/info/manifestTest.c:
class: test/module
type: c
test/src/module/performance/storageTest.c:
class: test/module
type: c
test/src/module/performance/typeTest.c:
class: test/module
type: c
test/src/module/postgres/clientTest.c:
class: test/module
type: c
test/src/module/postgres/interfaceTest.c:
v2.02: Parallel Asynchronous Archive Get and Configuration Includes Bug Fixes: * Fix directory syncs running recursively when only the specified directory should be synced. (Reported by Craig A. James.) * Fix archive-copy throwing "path not found" error for incr/diff backups. (Reported by yummyliu, Vitaliy Kukharik.) * Fix failure in manifest build when two or more files in PGDATA are linked to the same directory. (Reported by Vitaliy Kukharik.) * Fix delta restore failing when a linked file is missing. * Fix rendering of key/value and list options in help. (Reported by Clinton Adams.) Features: * Add asynchronous, parallel archive-get. This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command. * Add support for additional pgBackRest configuration files in the directory specified by the --config-include-path option. Add --config-path option for overriding the default base path of the --config and --config-include-path option. (Contributed by Cynthia Shang.) * Add repo-s3-token option to allow temporary credentials tokens to be configured. pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire. (Contributed by Yogesh Sharma.) Improvements: * Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024. (Contributed by Cynthia Shang.) * Make backup/restore path sync more efficient. Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path. * Show command parameters as well as command options in initial info log message. * Rename archive-queue-max option to archive-push-queue-max to avoid confusion with the new archive-get-queue-max option. The old option name will continue to be accepted.
2018-05-07 01:53:42 +02:00
class: test/module
type: c
test/src/module/protocol/protocolTest.c:
class: test/module
type: c
v2.28: Azure Repository Storage Bug Fixes: * Fix restore --force acting like --force --delta. This caused restore to replace files based on timestamp and size rather than overwriting, which meant some files that should have been updated were left unchanged. Normal restore and restore --delta were not affected by this issue. (Reviewed by Cynthia Shang.) Features: * Azure support for repository storage. (Reviewed by Cynthia Shang, Don Seiler.) * Add expire-auto option. This allows automatic expiration after a successful backup to be disabled. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang, David Steele.) Improvements: * Asynchronous S3 multipart upload. (Reviewed by Stephen Frost.) * Automatic retry for backup, restore, archive-get, and archive-push. (Reviewed by Cynthia Shang.) * Disable query parallelism in PostgreSQL sessions used for backup control. (Reviewed by Stefan Fercot.) * PostgreSQL 13 beta2 support. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace. * Improve handling of invalid HTTP response status. (Reviewed by Cynthia Shang.) * Improve error when pg1-path option missing for archive-get command. (Reviewed by Cynthia Shang.) * Add hint when checksum delta is enabled after a timeline switch. (Reviewed by Matt Bunter, Cynthia Shang.) * Use PostgreSQL instead of postmaster where appropriate. (Reviewed by Cynthia Shang.) Documentation Bug Fixes: * Fix incorrect example for repo-retention-full-type option. (Reported by Höseyin Sönmez.) * Remove internal commands from HTML and man command references. (Reported by Cynthia Shang.) Documentation Improvements: * Update PostgreSQL versions used to build user guides. Also add version ranges to indicate that a user guide is accurate for a range of PostgreSQL versions even if it was built for a specific version. (Reviewed by Stephen Frost.) * Update FAQ for expiring a specific backup set. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Update FAQ to clarify default PITR behavior. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2020-07-20 14:57:22 +02:00
test/src/module/storage/azureTest.c:
class: test/module
type: c
v2.33: Multi-Repository and GCS Support Bug Fixes: * Fix option warnings breaking async archive-get/archive-push. (Reviewed by Cynthia Shang. Reported by Lev Kokotov.) * Fix memory leak in backup during archive copy. (Reviewed by Cynthia Shang. Reported by Christian ROUX, Efremov Egor.) * Fix stack overflow in cipher passphrase generation. (Reviewed by Cynthia Shang. Reported by bsiara.) * Fix repo-ls / on S3 repositories. (Reviewed by Cynthia Shang. Reported by Lesovsky Alexey.) Features: * Multiple repository support. (Contributed by Cynthia Shang, David Steele. Reviewed by Stefan Fercot, Stephen Frost.) * GCS support for repository storage. (Reviewed by Cynthia Shang.) * Add archive-header-check option. (Reviewed by Stephen Frost, Cynthia Shang. Suggested by Hans-Jürgen Schönig.) Improvements: * Include recreated system databases during selective restore. (Contributed by Stefan Fercot. Reviewed by Cynthia Shang.) * Exclude content-length from S3 signed headers. (Reviewed by Cynthia Shang. Suggested by Brian P Bockelman.) * Consolidate less commonly used repository storage options. (Reviewed by Cynthia Shang.) * Allow custom config-path default with ./configure --with-configdir. (Contributed by Michael Schout. Reviewed by David Steele.) * Log archive copy during backup. (Reviewed by Cynthia Shang, Stefan Fercot.) Documentation Improvements: * Update reference to include links to user guide examples. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Update selective restore documentation with caveats. (Reviewed by Cynthia Shang, Stefan Fercot.) * Add compress-type clarification to archive-copy documentation. (Reviewed by Cynthia Shang, Stefan Fercot.) * Add compress-level defaults per compress-type value. (Contributed by Cynthia Shang. Reviewed by David Steele.) * Add note about required NFS settings being the same as PostgreSQL. (Contributed by Cynthia Shang. Reviewed by David Steele.)
2021-04-05 15:18:20 +02:00
test/src/module/storage/gcsTest.c:
class: test/module
type: c
test/src/module/storage/posixTest.c:
class: test/module
type: c
test/src/module/storage/remoteTest.c:
class: test/module
type: c
test/src/module/storage/s3Test.c:
class: test/module
type: c
test/src/test.c:
class: test/harness
type: c
test/test.pl:
class: test/harness
type: perl