pgBackRest 1.29 commit log

v1.28: Stanza Delete

commit   : 63cb94dc7631e7fac36543292d893c340a161537    
  
author   : David Steele <[email protected]>    
date     : Thu, 1 Feb 2018 17:01:01 -0500    
  
committer: David Steele <[email protected]>    
date     : Thu, 1 Feb 2018 17:01:01 -0500    

Click here for diff

Bug Fixes:  
  
* Fixed inability to restore a single database contained in a tablespace using --db-include. (Fixed by Cynthia Shang.)  
* Ensure latest db-id is selected on when matching archive.info to backup.info. This provides correct matching in the event there are system-id and db-version duplicates (e.g. after reverting a pg_upgrade). (Fixed by Cynthia Shang. Reported by Adam K. Sumner.)  
* Fixed overly chatty error message when reporting an invalid command. (Reported by Jason O'Donnell.)  
  
Features:  
  
* Add stanza-delete command to cleanup unused stanzas. (Contributed by Cynthia Shang. Suggested by Magnus Hagander.)  
  
Improvements:  
  
* Improve stanza-create command so that it does not error when the stanza already exists. (Contributed by Cynthia Shang.)  

M README.md
M doc/resource/exe.cache
M doc/xml/release.xml
M lib/pgBackRest/Version.pm
M libc/lib/pgBackRest/LibCAuto.pm

Improve stanza-create command so that it does not error when the stanza already exists.

commit   : a592ecf18c804b8d2d705e38159fb4e77853c177    
  
author   : Cynthia Shang <[email protected]>    
date     : Thu, 1 Feb 2018 16:14:16 -0500    
  
committer: David Steele <[email protected]>    
date     : Thu, 1 Feb 2018 16:14:16 -0500    

Click here for diff

Contributed by Cynthia Shang.  

M doc/xml/release.xml
M lib/pgBackRest/Stanza.pm
M test/expect/mock-all-001.log
M test/expect/mock-stanza-001.log
M test/expect/mock-stanza-002.log
M test/expect/mock-stanza-003.log
M test/lib/pgBackRestTest/Module/Mock/MockStanzaTest.pm
M test/lib/pgBackRestTest/Module/Stanza/StanzaAllTest.pm

Fix non-compliant formatting for function declarations.

commit   : c13938e2ece88a0d40416cfb8fb586113b0f8b8c    
  
author   : David Steele <[email protected]>    
date     : Wed, 31 Jan 2018 18:27:05 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 31 Jan 2018 18:27:05 -0500    

Click here for diff

Per review by Cynthia Shang.  

M doc/xml/release.xml
M src/common/error.c
M src/common/errorType.c
M src/common/memContext.c
M test/src/module/cipher/blockTest.c
M test/src/module/cipher/randomTest.c
M test/src/module/common/encodeTest.c
M test/src/module/common/errorTest.c
M test/src/module/common/memContextTest.c
M test/src/module/common/typeTest.c
M test/src/module/config/configTest.c
M test/src/module/config/defineTest.c
M test/src/module/postgres/pageChecksumTest.c

Update stanza-create --force documentation to urge caution when using.

commit   : e72f048121eb2a8309b76a92199c70a46802e6e6    
  
author   : David Steele <[email protected]>    
date     : Wed, 31 Jan 2018 17:22:36 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 31 Jan 2018 17:22:36 -0500    

Click here for diff

Suggested by Jason O'Donnell.  

M doc/xml/reference.xml
M doc/xml/release.xml
M lib/pgBackRest/Config/ConfigHelpData.pm

Fixed overly chatty error message when reporting an invalid command.

commit   : 6bf114d377fab3d53203925589ba70b7525c0b57    
  
author   : David Steele <[email protected]>    
date     : Wed, 31 Jan 2018 16:08:57 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 31 Jan 2018 16:08:57 -0500    

Click here for diff

Reported by Jason O'Donnell.  

M doc/xml/release.xml
M lib/pgBackRest/Config/Config.pm

Ensure latest db-id is selected on when matching archive.info to backup.info.

commit   : f2308707ad12f72c41929ebdf22ba3b747b1beae    
  
author   : Cynthia Shang <[email protected]>    
date     : Wed, 31 Jan 2018 11:41:42 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 31 Jan 2018 11:41:42 -0500    

Click here for diff

This provides correct matching in the event there are system-id and db-version duplicates (e.g. after reverting a pg_upgrade).  
  
Fixed by Cynthia Shang.  
Reported by Adam K. Sumner.  

M doc/xml/release.xml
M lib/pgBackRest/Backup/Info.pm
M test/lib/pgBackRestTest/Module/Backup/BackupInfoUnitTest.pm

Fixed inability to restore a single database contained in a tablespace using --db-include.

commit   : 4f64b3021935948895469f76956bd28e64e9950e    
  
author   : Cynthia Shang <[email protected]>    
date     : Wed, 31 Jan 2018 11:12:05 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 31 Jan 2018 11:12:05 -0500    

Click here for diff

Fixed by Cynthia Shang.  

M doc/xml/release.xml
M lib/pgBackRest/Manifest.pm
M lib/pgBackRest/Restore.pm
M test/expect/real-all-001.log
M test/lib/pgBackRestTest/Env/Host/HostDbTest.pm
M test/lib/pgBackRestTest/Module/Manifest/ManifestAllTest.pm
M test/lib/pgBackRestTest/Module/Real/RealAllTest.pm

Add unit tests for the Manifest module.

commit   : 54f4adf087dde0237f569fdff981809a54ac7c1f    
  
author   : Cynthia Shang <[email protected]>    
date     : Wed, 31 Jan 2018 10:31:11 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 31 Jan 2018 10:31:11 -0500    

Click here for diff

Also minor changes to Manifest module, mostly for test reproducibility.  
  
Contributed by Cynthia Shang.  

M doc/xml/release.xml
M lib/pgBackRest/Manifest.pm
M test/lib/pgBackRestTest/Common/DefineTest.pm
A test/lib/pgBackRestTest/Module/Manifest/ManifestAllTest.pm

Add stanza-delete command to cleanup unused stanzas.

commit   : c36997bfb5df56c612263e4097d5ba8c1f33893b    
  
author   : Cynthia Shang <[email protected]>    
date     : Wed, 31 Jan 2018 10:07:54 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 31 Jan 2018 10:07:54 -0500    

Click here for diff

Contributed by Cynthia Shang.  
Suggested by Magnus Hagander.  

M bin/pgbackrest
M doc/lib/BackRestDoc/Common/DocRender.pm
M doc/xml/reference.xml
M doc/xml/release.xml
M doc/xml/user-guide.xml
M lib/pgBackRest/Common/Lock.pm
M lib/pgBackRest/Config/ConfigHelpData.pm
M lib/pgBackRest/Config/Data.pm
M lib/pgBackRest/Stanza.pm
M lib/pgBackRest/Version.pm
M libc/lib/pgBackRest/LibCAuto.pm
M libc/xs/config/config.auto.xsh
M src/config/config.auto.c
M src/config/config.auto.h
M src/config/define.auto.c
M src/config/define.auto.h
M test/expect/help-help-001.log
M test/expect/mock-all-001.log
M test/expect/mock-all-002.log
M test/expect/mock-archive-001.log
M test/expect/mock-archive-002.log
M test/expect/mock-stanza-001.log
M test/expect/mock-stanza-002.log
M test/expect/mock-stanza-003.log
M test/lib/pgBackRestTest/Common/DefineTest.pm
M test/lib/pgBackRestTest/Env/Host/HostBackupTest.pm
M test/lib/pgBackRestTest/Module/Mock/MockStanzaTest.pm
M test/lib/pgBackRestTest/Module/Stanza/StanzaAllTest.pm

Update LICENSE.txt for 2018.

commit   : 8bd3e18e46623ca82bc8698889c1050bd684c766    
  
author   : David Steele <[email protected]>    
date     : Thu, 18 Jan 2018 08:56:42 -0500    
  
committer: David Steele <[email protected]>    
date     : Thu, 18 Jan 2018 08:56:42 -0500    

Click here for diff

M LICENSE