From 2c03ec36ea444083e243730370559aa8b7c8790b Mon Sep 17 00:00:00 2001 From: Adis Nezirovic Date: Thu, 22 Jan 2015 06:37:52 +0700 Subject: [PATCH] system/postgresql: Fix for pg_upgrade (timezone_abbreviations). Signed-off-by: Willy Sudiarto Raharjo --- system/postgresql/README.SBo | 5 +++-- system/postgresql/postgresql.SlackBuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/system/postgresql/README.SBo b/system/postgresql/README.SBo index 80148572e0..894c8eb425 100644 --- a/system/postgresql/README.SBo +++ b/system/postgresql/README.SBo @@ -31,7 +31,7 @@ Additionally, rc.postgresql script has additional modes for stop/restart: See http://www.postgresql.org/docs/9.4/static/app-pg-ctl.html From PostgreSQL 9.3 we support in place database upgrades using pg_upgrade: - http://www.postgresql.org/docs/9.3/static/pgupgrade.html + http://www.postgresql.org/docs/9.4/static/pgupgrade.html A few hints for PostgreSQL 9.3 -> 9.4 upgrade: - Don't remove old PostgreSQL 9.3.x package @@ -50,7 +50,8 @@ To build PostgreSQL with all extensions, use the following command: # PG_EXTENSIONS=ALL ./postgresql.SlackBuild -Please note that in order to actually use extension, you must execute 'CREATE EXTENSION [ IF NOT EXISTS ] extension_name' for each extension. +Please note that in order to actually use extension, you must execute +'CREATE EXTENSION [ IF NOT EXISTS ] extension_name' for each extension. OpenLDAP Notes diff --git a/system/postgresql/postgresql.SlackBuild b/system/postgresql/postgresql.SlackBuild index d37d0142d3..8653e71cfb 100644 --- a/system/postgresql/postgresql.SlackBuild +++ b/system/postgresql/postgresql.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for PostgreSQL # -# $Revision: 1fcb141fcfb8 $ -# $Date: 2015/01/08 06:56:14 $ +# $Revision: b43df5a7e4e0 $ +# $Date: 2015/01/20 18:50:25 $ # # Copyright 2007-2014 Adis Nezirovic # All rights reserved. @@ -107,6 +107,7 @@ CFLAGS="$SLKCFLAGS" \ --datarootdir=/usr/share \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --datadir=/usr/share/$PRGNAM-$PG_VERSION \ --with-openssl \ --with-tcl \ --with-perl \