Life with Open Source

PostgreSQL 9.2.20 commit log

Correct thinko in last-minute release note item.

commit   : 903bfef382f286a75e82b8b9edd93b2bdc6cfd96    
  
author   : Tom Lane <tgl@sss.pgh.pa.us>    
date     : Tue, 7 Feb 2017 10:24:25 -0500    
  
committer: Tom Lane <tgl@sss.pgh.pa.us>    
date     : Tue, 7 Feb 2017 10:24:25 -0500    

Click here for diff

The CREATE INDEX CONCURRENTLY bug can only be triggered by row updates,  
not inserts, since the problem would arise from an update incorrectly  
being made HOT.  Noted by Alvaro.  

M doc/src/sgml/release-9.2.sgml

PostgreSQL 9.3.16 commit log

Stamp 9.3.16.

commit   : 6f5e8094c2c0b829e3d00fc1e1656248457e16e6    
  
author   : Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 16:50:42 -0500    
  
committer: Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 16:50:42 -0500    

Click here for diff

M configure
M configure.in
M doc/bug.template
M src/include/pg_config.h.win32
M src/interfaces/libpq/libpq.rc.in
M src/port/win32ver.rc

Release notes for 9.6.2, 9.5.6, 9.4.11, 9.3.16, 9.2.20.

commit   : a587f69f658210b76a29b404ab2c0ad8205a0671    
  
author   : Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 15:30:17 -0500    
  
committer: Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 15:30:17 -0500    

Click here for diff

PostgreSQL 9.4.11 commit log

Stamp 9.4.11.

commit   : 01306452b1481a73a24fe7396f84797d37269865    
  
author   : Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 16:49:02 -0500    
  
committer: Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 16:49:02 -0500    

Click here for diff

M configure
M configure.in
M doc/bug.template
M src/include/pg_config.h.win32
M src/interfaces/libpq/libpq.rc.in
M src/port/win32ver.rc

Release notes for 9.6.2, 9.5.6, 9.4.11, 9.3.16, 9.2.20.

commit   : 59661896228ecd701c8f78ac6663766d740cd39e    
  
author   : Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 15:30:17 -0500    
  
committer: Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 15:30:17 -0500    

Click here for diff

PostgreSQL 9.5.6 commit log

Stamp 9.5.6.

commit   : bcbbc4cfc9ca163c4a562f24ff9e2fb070647786    
  
author   : Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 16:47:25 -0500    
  
committer: Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 16:47:25 -0500    

Click here for diff

M configure
M configure.in
M doc/bug.template
M src/include/pg_config.h.win32
M src/interfaces/libpq/libpq.rc.in
M src/port/win32ver.rc

Release notes for 9.6.2, 9.5.6, 9.4.11, 9.3.16, 9.2.20.

commit   : 5127c873aa52e574e8b2dd3ebf488e072a81a3ae    
  
author   : Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 15:30:16 -0500    
  
committer: Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 15:30:16 -0500    

Click here for diff

PostgreSQL 9.6.2 commit log

Stamp 9.6.2.

commit   : 6a18e4bc2d13d077c52cf90a4c6ec68343808ba7    
  
author   : Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 16:45:25 -0500    
  
committer: Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 16:45:25 -0500    

Click here for diff

M configure
M configure.in
M doc/bug.template
M src/include/pg_config.h.win32
M src/interfaces/libpq/libpq.rc.in
M src/port/win32ver.rc

Release notes for 9.6.2, 9.5.6, 9.4.11, 9.3.16, 9.2.20.

commit   : a822971173e66cde920a0a20352b823cd873db0f    
  
author   : Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 15:30:16 -0500    
  
committer: Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 6 Feb 2017 15:30:16 -0500    

Click here for diff

pgBackRest 1.14 commit log

v1.13: Parallel Archiving, Stanza Create, Improved Info and Check

commit   : 41eba95155b1fab4c5f98dab3327c1563968fcab    
  
author   : David Steele <david@pgmasters.net>    
date     : Sun, 5 Feb 2017 20:23:03 -0500    
  
committer: David Steele <david@pgmasters.net>    
date     : Sun, 5 Feb 2017 20:23:03 -0500    

Click here for diff

IMPORTANT NOTE: The new implementation of asynchronous archiving no longer copies WAL to a separate queue. If there is any WAL left over in the old queue after upgrading to 1.13, it will be abandoned and not pushed to the repository.  
  
To prevent this outcome, stop archiving by setting archive_command = false. Next, drain the async queue by running pgbackrest --stanza=[stanza-name] archive-push and wait for the process to complete. Check that the queue in [spool-path]/archive/[stanza-name]/out is empty. Finally, install 1.13 and restore the original archive_command.  
  
IMPORTANT NOTE: The stanza-create command is not longer optional and must be executed before backup or archiving can be performed on a new stanza. Pre-existing stanzas do not require stanza-create to be executed.  
  
Bug Fixes:  
  
* Fixed const assignment giving compiler warning in C library. (Fixed by Adrian Vondendriesch.)  
* Fixed a few directory syncs that were missed for the --repo-sync option.  
* Fixed an issue where a missing user/group on restore could cause an "uninitialized value" error in File->owner(). (Reported by Leonardo Avellar.)  
* Fixed an issue where protocol mismatch errors did not output the expected value.  
* Fixed a spurious archive-get log message that indicated an exit code of 1 was an abnormal termination.  
  
Features:  
  
* Improved, multi-process implementation of asynchronous archiving.  
* Improved stanza-create command so that it can repair broken repositories in most cases and is robust enough to be made mandatory. (Contributed by Cynthia Shang.)  
* Improved check command to run on a standby, though only basic checks are done because pg_switch_xlog() cannot be executed on a replica. (Contributed by Cynthia Shang.)  
* Added archive and backup WAL ranges to the info command.  
* Added warning to update pg_tablespace.spclocation when remapping tablespaces in PostgreSQL < 9.2. (Contributed by blogh.)  
* Remove remote lock requirements for the archive-get, restore, info, and check commands since they are read-only operations. (Suggested by Michael Vitale.)  
  
Refactoring:  
  
* Refactor File and BackupCommon modules to improve test coverage.  
* Return proper error code when unable to convert a relative path to an absolute path. (Suggested by Yogesh Sharma.)  
* Log file banner is not output until the first log entry is written. (Suggested by Jens Wilke.)  
* Moved File->manifest() into the FileCommon.pm module.  
* Moved the Archive modules to the Archive directory and split the archive-get and archive-push commands into separate modules.  
* Split the check command out of the Archive.pm module.  
* Allow logging to be suppressed via logDisable() and logEnable().  
* Allow for locks to be taken more than once in the same process without error.  
* Lock directories can be created when more than one directory level is required.  
* Clean up optionValid()/optionTest() logic in Lock.pm.  
* Added Exception::exceptionCode() and Exception::exceptionMessage() to simplify error handling logic.  
* Represent .gz extension with a constant.  
* Allow empty files to be created with FileCommon::fileStringWrite() and use temp files to avoid partial reads.  
* Refactor process IO and process master/minion code out from the common protocol code.  
* Reduced the likelihood of torn pages causing a false positive in page checksums by filtering on start backup LSN.  
* Remove Intel-specific optimization from C library build flags. (Contributed by Adrian Vondendriesch.)  
* Removed --lock option. This option was introduced before the lock directory could be located outside the repository and is now obsolete.  
* Added --log-timestamp option to allow timestamps to be suppressed in logging. This is primarily used to avoid filters in the automated documentation.  
* Fixed alignment issues with multiline logging.  

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

pgBackRest 1.13 commit log

v1.12: Page Checksums, Configuration, and Bug Fixes

commit   : 8e3464da805fc0975b6cf25ecb9ba16146b45c9e    
  
author   : David Steele <david@pgmasters.net>    
date     : Mon, 12 Dec 2016 19:18:27 -0500    
  
committer: David Steele <david@pgmasters.net>    
date     : Mon, 12 Dec 2016 19:18:27 -0500    

Click here for diff

IMPORTANT NOTE: In prior releases it was possible to specify options on the command-line that were invalid for the current command without getting an error. An error will now be generated for invalid options so it is important to carefully check command-line options in your environment to prevent disruption.  
  
Bug Fixes:  
  
* Fixed an issue where options that were invalid for the specified command could be provided on the command-line without generating an error. The options were ignored and did not cause any change in behavior, but it did lead to some confusion. Invalid options will now generate an error. (Reported by Nikhilchandra Kulkarni.)  
* Fixed an issue where internal symlinks were not being created for tablespaces in the repository. This issue was only apparent when trying to bring up clusters in-place manually using filesystem snapshots and did not affect normal backup and restore.  
* Fixed an issue that prevented errors from being output to the console before the logging system was initialized, i.e. while parsing options. Error codes were still being returned accurately so this would not have made a process look like it succeeded when it did not. (Reported by Adrian Vondendriesch.)  
* Fixed an issue where the db-port option specified on the backup server would not be properly passed to the remote unless it was from the first configured database. (Reported by Michael Vitale.)  
  
Features:  
  
* Added the --checksum-page option to allow pgBackRest to validate page checksums in data files when checksums are enabled on PostgreSQL >= 9.3. Note that this functionality requires a C library which may not initially be available in OS packages. The option will automatically be enabled when the library is present and checksums are enabled on the cluster. (Suggested by Stephen Frost.)  
* Added the --repo-link option to allow internal symlinks to be suppressed when the repository is located on a filesystem that does not support symlinks. This does not affect any pgBackRest functionality, but the convenience link latest will not be created and neither will internal tablespace symlinks, which will affect the ability to bring up clusters in-place manually using filesystem snapshots.  
* Added the --repo-sync option to allow directory syncs in the repository to be disabled for file systems that do not support them, e.g. NTFS.  
* Added a predictable log entry to signal that a command has completed successfully. For example a backup ends successfully with: INFO: backup command end: completed successfully. (Suggested by Jens Wilke.)  
  
Refactoring:  
  
* Abstracted code to determine which database cluster is the master and which are standbys. (Contributed by Cynthia Shang.)  
* Improved consistency and flexibility of the protocol layer by using JSON for all messages.  
* File copy protocol now accepts a function that can do additional processing on the copy buffers and return a result to the calling process.  
* Improved IO->bufferRead to always return requested number of bytes until EOF.  
* For simplicity, the pg_control file is now copied with the rest of the files instead of by itself of at the end of the process. The backup command does not require this behavior and the restore copies to a temporary file which is renamed at the end of the restore.  
* Simplified the result hash of File->manifest(), Db->tablespaceMapGet(), and Db->databaseMapGet().  
* Improved errors returned from child processes by removing redundant error level and code.  
* Code cleanup in preparation for improved stanza-create command. (Contributed by Cynthia Shang.)  
* Improved parameter/result logging in debug/trace functions.  

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

pgBackRest 1.12 commit log

v1.11: Bug Fix for Asynchronous Archiving Efficiency

commit   : 54b1a784b55fdee915b550e5151f20dabea4e67c    
  
author   : David Steele <david@pgmasters.net>    
date     : Thu, 17 Nov 2016 09:57:59 -0500    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 17 Nov 2016 09:57:59 -0500    

Click here for diff

Bug Fixes:  
  
* Fixed an issue where asynchronous archiving was transferring one file per execution instead of transferring files in batches. This regression was introduced in v1.09 and affected efficiency only, all WAL segments were correctly archived in asynchronous mode. (Reported by Stephen Frost.)  

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

pgBackRest 1.11 commit log

v1.10: Stanza Creation and Minor Bug Fixes

commit   : 06cac30c33733d3894a3143a6866a9dbd3972199    
  
author   : David Steele <david@pgmasters.net>    
date     : Tue, 8 Nov 2016 10:47:47 +0000    
  
committer: David Steele <david@pgmasters.net>    
date     : Tue, 8 Nov 2016 10:47:47 +0000    

Click here for diff

Bug Fixes:  
  
* Fixed an issue where a backup could error if no changes were made to a database between backups and only pg_control changed.  
* Fixed an issue where tablespace paths with the same prefix would cause an invalid link error. (Reported by Nikhilchandra Kulkarni.)  
  
Features:  
  
* Added the stanza-create command to formalize creation of stanzas in the repository. (Contributed by Cynthia Shang.)  
  
Refactoring:  
  
* Removed extraneous use lib directives from Perl modules. (Suggested by Devrim Gündüz.)  

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

PostgreSQL 9.1.24 commit log

Stamp 9.1.24.

commit   : e85493559c4678f54d30b6b4e04b17c03a3192d7    
  
author   : Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 24 Oct 2016 16:19:49 -0400    
  
committer: Tom Lane <tgl@sss.pgh.pa.us>    
date     : Mon, 24 Oct 2016 16:19:49 -0400    

Click here for diff

M configure
M configure.in
M doc/bug.template
M src/include/pg_config.h.win32
M src/interfaces/libpq/libpq.rc.in
M src/port/win32ver.rc

Translation updates

commit   : 3a018d2fbb67ae5b2f8dc0e7e6512e856d33a5e6    
  
author   : Peter Eisentraut <peter_e@gmx.net>    
date     : Mon, 24 Oct 2016 12:00:00 -0400    
  
committer: Peter Eisentraut <peter_e@gmx.net>    
date     : Mon, 24 Oct 2016 12:00:00 -0400    

Click here for diff