aboutsummaryrefslogtreecommitdiff
path: root/system/postgresql/setup.postgresql
diff options
context:
space:
mode:
authorAdis Nezirovic <adis_at_linux.org.ba>2017-08-22 17:55:54 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-26 07:19:43 +0700
commit555c1ee95a2a948b76dcd46b7bfc451e20a88f71 (patch)
tree1a5b5a29d665c9b351df0d3bf881d40c416b90d0 /system/postgresql/setup.postgresql
parent15c283cdbb611bc3394ab667b20a11792bed6c47 (diff)
system/postgresql: Updated for version 9.6.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/postgresql/setup.postgresql')
-rw-r--r--system/postgresql/setup.postgresql2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/postgresql/setup.postgresql b/system/postgresql/setup.postgresql
index 2f0ec5f5496aa..32fc3e1e718ab 100644
--- a/system/postgresql/setup.postgresql
+++ b/system/postgresql/setup.postgresql
@@ -23,7 +23,7 @@ chmod 700 $PG_HOME/$PG_VERSION/data
## database cluster
if [ ! -f $PG_HOME/$PG_VERSION/data/PG_VERSION ]; then
echo "Creating database cluster in $PG_HOME/$PG_VERSION/data..."
- su $PG_USER -c "initdb -D $PG_HOME/$PG_VERSION/data --locale=en_US.UTF-8 -A md5 -W"
+ su $PG_USER -c "initdb -D $PG_HOME/$PG_VERSION/data --locale=en_US.UTF-8 -A md5 -W --data-checksums"
else
echo "*** WARNING ***" >&2
echo " There is already a database cluster in $PG_HOME/$PG_VERSION/data." >&2