From 187ca5e8e90baacc2d36c8bd0b08040f33c07fa1 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 29 Apr 2013 21:55:12 -0400 Subject: Revert "pg_ctl: Add idempotent option" This reverts commit 87306184580c9c49717b00d48a2f9e717f21e0a8. The behavior in certain cases is still being debated, and it's too late to solve this before beta. --- contrib/start-scripts/linux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/start-scripts/linux') diff --git a/contrib/start-scripts/linux b/contrib/start-scripts/linux index 2d36a560fa5..b950cf512c3 100644 --- a/contrib/start-scripts/linux +++ b/contrib/start-scripts/linux @@ -89,12 +89,12 @@ case $1 in ;; stop) echo -n "Stopping PostgreSQL: " - su - $PGUSER -c "$PGCTL stop -I -D '$PGDATA' -s -m fast" + su - $PGUSER -c "$PGCTL stop -D '$PGDATA' -s -m fast" echo "ok" ;; restart) echo -n "Restarting PostgreSQL: " - su - $PGUSER -c "$PGCTL stop -I -D '$PGDATA' -s -m fast -w" + su - $PGUSER -c "$PGCTL stop -D '$PGDATA' -s -m fast -w" test x"$OOM_SCORE_ADJ" != x && echo "$OOM_SCORE_ADJ" > /proc/self/oom_score_adj test x"$OOM_ADJ" != x && echo "$OOM_ADJ" > /proc/self/oom_adj su - $PGUSER -c "$DAEMON -D '$PGDATA' &" >>$PGLOG 2>&1 -- cgit v1.2.3