From 57c3f72fc137af2e08f70911d5ed32924f3b515c Mon Sep 17 00:00:00 2001 From: Palle Girgensohn Date: Thu, 27 Oct 2016 14:04:55 +0000 Subject: Update PostgreSQL to latest versions. The PostgreSQL Global Development Group has released an update to all supported versions of our database system, including 9.6.1, 9.5.5, 9.4.10, 9.3.15, 9.2.19, and 9.1.24. This release fixes two issues that can cause data corruption, which are described in more detail below. It also patches a number of other bugs reported over the last three months. The project urges users to apply this update at the next possible downtime. --- databases/postgresql92-server/files/pkg-message-server.in | 4 ++-- databases/postgresql92-server/files/postgresql.in | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'databases/postgresql92-server/files') diff --git a/databases/postgresql92-server/files/pkg-message-server.in b/databases/postgresql92-server/files/pkg-message-server.in index 54f397448198..3650316fba7b 100644 --- a/databases/postgresql92-server/files/pkg-message-server.in +++ b/databases/postgresql92-server/files/pkg-message-server.in @@ -8,8 +8,8 @@ appropriately. The port is set up to use autovacuum for new databases, but you might also want to vacuum and perhaps backup your database regularly. There is a periodic script, %%PREFIX%%/etc/periodic/daily/502.pgsql, that -you may find useful. You can use it to backup and perfom vacuum on all -databases nightly. Per default, it perfoms `vacuum analyze'. See the +you may find useful. You can use it to backup and perform vacuum on all +databases nightly. Per default, it performs `vacuum analyze'. See the script for instructions. For autovacuum settings, please review ~pgsql/data/postgresql.conf. diff --git a/databases/postgresql92-server/files/postgresql.in b/databases/postgresql92-server/files/postgresql.in index 643171a44b91..016b5567ca33 100644 --- a/databases/postgresql92-server/files/postgresql.in +++ b/databases/postgresql92-server/files/postgresql.in @@ -58,8 +58,8 @@ if [ -n "$2" ]; then echo "You must define a data directory (postgresql_${profile}_data)" exit 1 fi - eval postgresql_enable="\${postgresql_${profile}_enable:-${postgresql_enable}} - eval postgresql_data="\${postgresql_${profile}_data:-${postgresql_data}} + eval postgresql_enable="\${postgresql_${profile}_enable:-${postgresql_enable}}" + eval postgresql_data="\${postgresql_${profile}_data:-${postgresql_data}}" eval postgresql_flags="\${postgresql_${profile}_flags:-${postgresql_flags}}" eval postgresql_initdb_flags="\${postgresql_${profile}_initdb_flags:-${postgresql_initdb_flags}}" fi @@ -108,7 +108,7 @@ postgresql_command() postgresql_initdb() { - su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}" + su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data} -U ${postgresql_user}" } run_rc_command "$1" -- cgit v1.2.3