summaryrefslogtreecommitdiff
path: root/databases/postgresql91-server/files/postgresql.in
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2011-04-18 23:34:27 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2011-04-18 23:34:27 +0000
commit73c856222edb8c22377bf9a1c81a724065e3a31c (patch)
tree2a77e52eec6ad4963a7f80ea0b338e506c5e9a85 /databases/postgresql91-server/files/postgresql.in
parent- Fix category (diff)
Update PostgreSQL to 9.0.4, 8.4.8, 8.3.15 and 8.2.21.
This update contains a critical fix to the pg_upgrade utility which prevents significant downtime issues. Do not use pg_upgrade without installing this update first. The issue with pg_upgrade and the fix are detailed on the PostgreSQL wiki: http://wiki.postgresql.org/wiki/20110408pg_upgrade_fix Users who have already used pg_upgrade should run the database repair script given on that page on their databases as soon as possible. See the release notes for each version at http://www.postgresql.org/docs/current/static/release.html for a full list of changes with details. Allow the username of the postgresql user to configurable for 8.4 and 9.0. Largely inspired by the work of Jason Helfman [153668, 153136]. Change PGUSER knob to PG_USER not to clash with PGUSER environment. PR: 153668, 153136, 155493, 155137
Notes
Notes: svn path=/head/; revision=272900
Diffstat (limited to 'databases/postgresql91-server/files/postgresql.in')
-rw-r--r--databases/postgresql91-server/files/postgresql.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql91-server/files/postgresql.in b/databases/postgresql91-server/files/postgresql.in
index 405d2efaa4d3..d1e3c763f8da 100644
--- a/databases/postgresql91-server/files/postgresql.in
+++ b/databases/postgresql91-server/files/postgresql.in
@@ -32,7 +32,7 @@ load_rc_config postgresql
# set defaults
postgresql_enable=${postgresql_enable:-"NO"}
postgresql_flags=${postgresql_flags:-"-w -s -m fast"}
-postgresql_user=pgsql
+postgresql_user=${postgresql_user:-"%%PG_USER%%"}
eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data"}
postgresql_class=${postgresql_class:-"default"}
postgresql_initdb_flags=${postgresql_initdb_flags:-"--encoding=utf-8 --lc-collate=C"}