diff options
author | Adis Nezirovic <adis_at_linux.org.ba> | 2016-01-27 21:55:38 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-27 21:55:38 +0700 |
commit | 04236140f3ff66ef24745029b78af5556474eb53 (patch) | |
tree | 6e25411f423fde5c027efc7f039431da1ecc12b6 /system/postgresql/README.SBo | |
parent | f037a9a09e1e15fb0b5c141c742f8c655955eadb (diff) |
system/postgresql: Updated for version 9.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/postgresql/README.SBo')
-rw-r--r-- | system/postgresql/README.SBo | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/system/postgresql/README.SBo b/system/postgresql/README.SBo index 894c8eb42589..e5151969e8f2 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.4/data --locale=en_US.UTF-8 -A md5 -W" + # su postgres -c "initdb -D /var/lib/pgsql/9.5/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.4/interactive/logfile-maintenance.html +http://www.postgresql.org/docs/9.5/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.4/static/app-pg-ctl.html +See http://www.postgresql.org/docs/9.5/static/app-pg-ctl.html From PostgreSQL 9.3 we support in place database upgrades using pg_upgrade: - http://www.postgresql.org/docs/9.4/static/pgupgrade.html + http://www.postgresql.org/docs/9.5/static/pgupgrade.html -A few hints for PostgreSQL 9.3 -> 9.4 upgrade: - - Don't remove old PostgreSQL 9.3.x package - - Install PostgreSQL 9.4.x, note that binaries are in - '/usr/lib64/postgresql/9.4/bin' +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' - 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.4.x-x86_64-1_SBo' (doinst.sh script) + - Run '/var/log/scripts/postgresql-9.5.x-x86_64-1_SBo' (doinst.sh script) from filesystem root, to create symlinks in /usr/bin to PostgreSQL binaries |