diff options
author | adam <adam@pkgsrc.org> | 2013-12-10 22:32:56 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2013-12-10 22:32:56 +0000 |
commit | 116f463ff0d223b919f212993fea2bfe7e494a78 (patch) | |
tree | 8e0dcbfbe6ca1adfbe80050378f63bcbfb14f9f2 /databases/postgresql91 | |
parent | 884d056ed28d354fec56a27fa7fa966aa2265804 (diff) | |
download | pkgsrc-116f463ff0d223b919f212993fea2bfe7e494a78.tar.gz |
The PostgreSQL Global Development Group has released a critical update to all supported versions of the PostgreSQL database system, which includes minor versions 9.3.2, 9.2.6, 9.1.11, 9.0.15, and 8.4.19. This update fixes three serious data-loss bugs affecting replication and database maintenance. All users are urged to update their installations at the earliest opportunity.
The replication issue affects some users of PostgreSQL binary replication, and can cause minor data loss between the master and the standby. While not all users are affected, it is difficult to predict when the bug will occur, so we urge all users of replication and continuous backup (PITR) to update immediately. Additionally, users who had replication running under PostgreSQL minor versions 9.3.0, 9.3.1, 9.2.5, 9.1.10, or 9.0.14 should plan to take a fresh base backup of each standby after update, in order to ensure no prior data corruption already exists.
This release also fixes two timing issues with VACUUM, which can cause old, overwritten or deleted rows to re-appear at a later date under some circumstances. Users with very high transaction rates, particularly those who experience "transaction ID wraparound" every few weeks or less, are the most at risk for this issue. Those users should set vacuum_freeze_table_age to 0, and run a database-wide VACUUM after the update. The second of the two VACUUM issues affects only 9.3, making it expecially important for 9.3 users to update.
Diffstat (limited to 'databases/postgresql91')
-rw-r--r-- | databases/postgresql91/Makefile.common | 4 | ||||
-rw-r--r-- | databases/postgresql91/distinfo | 9 | ||||
-rw-r--r-- | databases/postgresql91/patches/patch-src_pl_plpython_Makefile | 15 |
3 files changed, 22 insertions, 6 deletions
diff --git a/databases/postgresql91/Makefile.common b/databases/postgresql91/Makefile.common index 926aac1d112..706a08d8f93 100644 --- a/databases/postgresql91/Makefile.common +++ b/databases/postgresql91/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.16 2013/12/02 23:08:55 bsiegert Exp $ +# $NetBSD: Makefile.common,v 1.17 2013/12/10 22:32:56 adam Exp $ # # used by databases/postgresql91-adminpack/Makefile # used by databases/postgresql91-client/Makefile @@ -21,7 +21,7 @@ # <lang>-postgresql client-side interface to PostgreSQL # postgresql-<lang> server-side module for PostgreSQL backend -DISTNAME= postgresql-9.1.10 +DISTNAME= postgresql-9.1.11 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/} EXTRACT_SUFX= .tar.bz2 diff --git a/databases/postgresql91/distinfo b/databases/postgresql91/distinfo index d5e7c31c484..a8f8ebd20dc 100644 --- a/databases/postgresql91/distinfo +++ b/databases/postgresql91/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.15 2013/10/12 20:39:43 adam Exp $ +$NetBSD: distinfo,v 1.16 2013/12/10 22:32:56 adam Exp $ -SHA1 (postgresql-9.1.10.tar.bz2) = ac2882d50f5a4798d1fcc7c6445c4964b1edda5f -RMD160 (postgresql-9.1.10.tar.bz2) = 9ffafab4c2b60be33789066b1d5563f370685500 -Size (postgresql-9.1.10.tar.bz2) = 15849107 bytes +SHA1 (postgresql-9.1.11.tar.bz2) = b9ee975498705647aae77dae91869bfc6bb079ff +RMD160 (postgresql-9.1.11.tar.bz2) = 2a3849a3e8b8f8fbbe2a35ee422a0be4a67e6dae +Size (postgresql-9.1.11.tar.bz2) = 15861805 bytes SHA1 (patch-config_perl.m4) = c7e5aaff1c47d2e33df7692a412ef984c77ffcc0 SHA1 (patch-configure) = dab79533dac06a79a5aa8439d6b15830d8d2fba7 SHA1 (patch-contrib_dblink_Makefile) = 4960ad57d42465fae203870548e4c53f8a32ce04 @@ -12,6 +12,7 @@ SHA1 (patch-src_backend_Makefile) = 76ddd3015d93b19cdd6000eaffc4f53cbd4965b5 SHA1 (patch-src_makefiles_Makefile.solaris) = 0168f5bc105ffc89d5db40907a08966d8465f5a0 SHA1 (patch-src_pl_plperl_GNUmakefile) = 2b7448d6dd8550e2ea61f40728a2780068b93d07 SHA1 (patch-src_pl_plperl_plperl.h) = bd663fa80a47f7b82ce689060750fa6e631fbc61 +SHA1 (patch-src_pl_plpython_Makefile) = d70e0cf5e20479851df3ededa50776fd04846d49 SHA1 (patch-src_timezone_localtime.c) = a73769cf05223d2ee06249c9e69c85038c2cd936 SHA1 (patch-src_timezone_private.h) = 85dac95e40efc16270885087f868aeb76e1b9214 SHA1 (patch-src_timezone_strftime.c) = 25102dce1b9b22385353af23500636fb18e3bf64 diff --git a/databases/postgresql91/patches/patch-src_pl_plpython_Makefile b/databases/postgresql91/patches/patch-src_pl_plpython_Makefile new file mode 100644 index 00000000000..64eb727d8f3 --- /dev/null +++ b/databases/postgresql91/patches/patch-src_pl_plpython_Makefile @@ -0,0 +1,15 @@ +$NetBSD: patch-src_pl_plpython_Makefile,v 1.1 2013/12/10 22:32:57 adam Exp $ + +Don't try to use Python framework. + +--- src/pl/plpython/Makefile.orig 2013-12-10 21:48:07.000000000 +0000 ++++ src/pl/plpython/Makefile +@@ -24,8 +24,6 @@ endif + # Darwin (OS X) has its own ideas about how to do this. + ifeq ($(PORTNAME), darwin) + shared_libpython = yes +-override python_libspec = -framework Python +-override python_additional_libs = + endif + + # If we don't have a shared library and the platform doesn't allow it |