summaryrefslogtreecommitdiffstats
path: root/system/postgresql/setup.postgresql
diff options
context:
space:
mode:
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 2f0ec5f549..32fc3e1e71 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