diff options
author | Adis Nezirovic <adis_at_linux.org.ba> | 2014-01-06 18:19:29 +0100 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-01-07 11:13:07 -0600 |
commit | 4911bc963f072a216abb4b9c15cfba679e6795b7 (patch) | |
tree | 62eac071981816f072f0bc171c3da1725fa90d50 /system/postgresql/setup.postgresql | |
parent | 11a427aed5293863f0798045ba9fd9ac57da246c (diff) | |
download | slackbuilds-4911bc963f072a216abb4b9c15cfba679e6795b7.tar.gz |
system/postgresql: Updated for version 9.3.2.
More sensible defaults for database encoding and auth
Misc cleanups
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/postgresql/setup.postgresql')
-rw-r--r-- | system/postgresql/setup.postgresql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/postgresql/setup.postgresql b/system/postgresql/setup.postgresql index d677a5cc6a..4f07996e19 100644 --- a/system/postgresql/setup.postgresql +++ b/system/postgresql/setup.postgresql @@ -1,5 +1,5 @@ #!/bin/bash -#BLURB="PostgreSQL" +#BLURB="PostgreSQL @PG_VERSION@" PG_HOME=/var/lib/pgsql PG_USER=postgres @@ -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" + su $PG_USER -c "initdb -D $PG_HOME/$PG_VERSION/data -E utf-8 -A md5 -W" else echo "*** WARNING ***" >&2 echo " There is already a database cluster in $PG_HOME/$PG_VERSION/data." >&2 |