aboutsummaryrefslogtreecommitdiff
path: root/system/postgresql
diff options
context:
space:
mode:
authorAdis Nezirovic <adis_at_linux.org.ba>2016-10-13 21:11:08 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-14 22:19:55 +0700
commit5889a05587732f787714880b75612d0d059713cb (patch)
treec54f3b0dd940e7d6e8c75c53d2bb1666d84f2af2 /system/postgresql
parent9514306f3d8dd25b6f0a41428c0652d06bf80477 (diff)
system/postgresql: Updated for version 9.6.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/postgresql')
-rw-r--r--system/postgresql/README.SBo18
-rw-r--r--system/postgresql/postgresql.SlackBuild8
-rw-r--r--system/postgresql/postgresql.info6
-rw-r--r--system/postgresql/rc.postgresql.new8
4 files changed, 20 insertions, 20 deletions
diff --git a/system/postgresql/README.SBo b/system/postgresql/README.SBo
index e5151969e8f2..0bd4fc3f2e67 100644
--- a/system/postgresql/README.SBo
+++ b/system/postgresql/README.SBo
@@ -1,11 +1,11 @@
Before you can run postgresql you'll need to create the
database files in /var/lib/pgsql. The following should do
the trick.
- # su postgres -c "initdb -D /var/lib/pgsql/9.5/data --locale=en_US.UTF-8 -A md5 -W"
+ # su postgres -c "initdb -D /var/lib/pgsql/9.6/data --locale=en_US.UTF-8 -A md5 -W"
Additionally, a logrotation script and init script are included.
For production level log file handling please read
-http://www.postgresql.org/docs/9.5/interactive/logfile-maintenance.html
+http://www.postgresql.org/docs/9.6/interactive/logfile-maintenance.html
In order to start postgresql at boot and stop it properly at shutdown,
make sure rc.postgresql is executable and add the following lines to
@@ -28,19 +28,19 @@ the following files:
Additionally, rc.postgresql script has additional modes for stop/restart:
force-stop|force-restart (i.e. pg_ctl 'fast' mode)
unclean-stop|unclean-restart (i.e. pg_ctl 'immediate' mode)
-See http://www.postgresql.org/docs/9.5/static/app-pg-ctl.html
+See http://www.postgresql.org/docs/9.6/static/app-pg-ctl.html
From PostgreSQL 9.3 we support in place database upgrades using pg_upgrade:
- http://www.postgresql.org/docs/9.5/static/pgupgrade.html
+ http://www.postgresql.org/docs/9.6/static/pgupgrade.html
-A few hints for PostgreSQL 9.4 -> 9.5 upgrade:
- - Don't remove old PostgreSQL 9.4.x package
- - Install PostgreSQL 9.5.x, note that binaries are in
- '/usr/lib64/postgresql/9.5/bin'
+A few hints for PostgreSQL 9.5 -> 9.6 upgrade:
+ - Don't remove old PostgreSQL 9.5.x package
+ - Install PostgreSQL 9.6.x, note that binaries are in
+ '/usr/lib64/postgresql/9.6/bin'
- Follow regular pg_upgrade docs
- Remove old package when transition is over, or read comments in
rc.postgresql if you want to run multiple PostgreSQL versions in parallel
- - Run '/var/log/scripts/postgresql-9.5.x-x86_64-1_SBo' (doinst.sh script)
+ - Run '/var/log/scripts/postgresql-9.6.x-x86_64-1_SBo' (doinst.sh script)
from filesystem root, to create symlinks in /usr/bin to PostgreSQL binaries
diff --git a/system/postgresql/postgresql.SlackBuild b/system/postgresql/postgresql.SlackBuild
index 40357dffb168..208169282b52 100644
--- a/system/postgresql/postgresql.SlackBuild
+++ b/system/postgresql/postgresql.SlackBuild
@@ -28,11 +28,11 @@
# Modified by the SlackBuilds.org Project
PRGNAM=postgresql
-VERSION=${VERSION:-9.5.3}
+VERSION=${VERSION:-9.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-PG_VERSION=${PG_VERSION:-9.5}
+PG_VERSION=${PG_VERSION:-9.6}
PG_PORT=${PG_PORT:-5432}
PG_UID=${PG_UID:-209}
PG_GID=${PG_GID:-209}
@@ -135,7 +135,7 @@ make install-docs DESTDIR=$PKG
)
# Some interesting additional modules:
-# http://www.postgresql.org/docs/9.5/static/contrib.html
+# http://www.postgresql.org/docs/9.6/static/contrib.html
#
# adminpack - helper extension for pgAdmin
# pgcrypto - extension for some business applications
@@ -143,7 +143,7 @@ make install-docs DESTDIR=$PKG
# postgres_fdw - foreign-data wrapper for access to external PostgreSQL servers
# file_fdw - foreign-data wrapper for access to data files on filesystem
-PG_EXTENSIONS=${PG_EXTENSIONS:-"adminpack pgcrypto ltree xml2 postgres_fdw file_fdw"}
+PG_EXTENSIONS=${PG_EXTENSIONS:-"adminpack pgcrypto ltree xml2 postgres_fdw file_fdw hstore citext"}
if [ "x$PG_EXTENSIONS" = "xALL" ];then
cd $TMP/$PRGNAM-$VERSION/contrib
diff --git a/system/postgresql/postgresql.info b/system/postgresql/postgresql.info
index 38c1a62400ec..5b6b164a773f 100644
--- a/system/postgresql/postgresql.info
+++ b/system/postgresql/postgresql.info
@@ -1,8 +1,8 @@
PRGNAM="postgresql"
-VERSION="9.5.3"
+VERSION="9.6.0"
HOMEPAGE="http://www.postgresql.org"
-DOWNLOAD="http://ftp.postgresql.org/pub/source/v9.5.3/postgresql-9.5.3.tar.bz2"
-MD5SUM="3f0c388566c688c82b01a0edf1e6b7a0"
+DOWNLOAD="http://ftp.postgresql.org/pub/source/v9.6.0/postgresql-9.6.0.tar.bz2"
+MD5SUM="c5af6ebb790ab877e1d2e56e19cebb29"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/postgresql/rc.postgresql.new b/system/postgresql/rc.postgresql.new
index 09dabe7ec45b..c2348707daa6 100644
--- a/system/postgresql/rc.postgresql.new
+++ b/system/postgresql/rc.postgresql.new
@@ -2,8 +2,8 @@
# PostgreSQL startup script for Slackware Linux
#
-# $Revision: 6804ca7db709 $
-# $Date: 2015/03/13 21:57:14 $
+# $Revision$
+# $Date$
#
# Copyright 2007-2016 Adis Nezirovic <adis_at_linux.org.ba>
# All rights reserved.
@@ -30,7 +30,7 @@
# Since version 9.3 this startup script can run multiple PostgreSQL
# versions on different ports and with different data dirs.
#
-# e.g. PG_VERSION=9.5 PG_PORT=6432 /etc/rc.d/rc.@PRGNAM@ start
+# e.g. PG_VERSION=9.6 PG_PORT=6432 /etc/rc.d/rc.@PRGNAM@ start
PG_VERSION=${PG_VERSION:-@PG_VERSION@}
PG_PORT=${PG_PORT:-@PG_PORT@}
@@ -43,7 +43,7 @@ PIDFILE=$DATADIR/postmaster.pid
# oom-killer score
#
-# http://www.postgresql.org/docs/9.5/static/kernel-resources.html#LINUX-MEMORY-OVERCOMMIT
+# http://www.postgresql.org/docs/9.6/static/kernel-resources.html#LINUX-MEMORY-OVERCOMMIT
PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj
PG_MASTER_OOM_SCORE_ADJ=-1000
PG_CHILD_OOM_SCORE_ADJ=0