Skip to content

Commit

Permalink
Update create_cluster.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tilkow authored and beaud76 committed Mar 16, 2019
1 parent 57e76f2 commit 924162a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/create_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# Create a postgres cluster suitable to run the E-Maj regression tests
# Syntax: create_cluster.sh <major postgres version>

export LANG='en_US.UTF-8'

if [ ${#} -lt 1 ]; then
echo "Usage: ${0} <major postgres version>"
echo "for instance: '${0} 10' for version 10.2"
Expand All @@ -22,7 +24,6 @@ echo "* Create the cluster for version ${PGMAJORVERSION} *"
echo "**************************************************"
echo


if [ -d "${PGDATA}" ]; then
# Trying to stop the cluster if it already exists and is up
${PGBIN}/pg_ctl stop -m i
Expand Down

0 comments on commit 924162a

Please sign in to comment.