mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Make whitespace consistent inside some script files
I don't know what the global standard might be, but at least adjacent code should use the same whitespace.
This commit is contained in:
parent
76568d3786
commit
da0dbea9c3
@ -108,10 +108,10 @@ case $1 in
|
||||
echo "ok"
|
||||
;;
|
||||
reload)
|
||||
echo -n "Reload PostgreSQL: "
|
||||
su - $PGUSER -c "$PGCTL reload -D '$PGDATA' -s"
|
||||
echo "ok"
|
||||
;;
|
||||
echo -n "Reload PostgreSQL: "
|
||||
su - $PGUSER -c "$PGCTL reload -D '$PGDATA' -s"
|
||||
echo "ok"
|
||||
;;
|
||||
status)
|
||||
su - $PGUSER -c "$PGCTL status -D '$PGDATA'"
|
||||
;;
|
||||
|
@ -96,9 +96,9 @@ StopService () {
|
||||
RestartService () {
|
||||
if [ "${POSTGRESQL:=-NO-}" = "-YES-" ]; then
|
||||
ConsoleMessage "Restarting PostgreSQL database server"
|
||||
# should match StopService:
|
||||
sudo -u $PGUSER sh -c "$PGCTL stop -D '${PGDATA}' -s -m fast"
|
||||
# should match StartService:
|
||||
# should match StopService:
|
||||
sudo -u $PGUSER sh -c "$PGCTL stop -D '${PGDATA}' -s -m fast"
|
||||
# should match StartService:
|
||||
if [ "${ROTATELOGS}" = "1" ]; then
|
||||
sudo -u $PGUSER sh -c "${DAEMON} -D '${PGDATA}' &" 2>&1 | ${LOGUTIL} "${PGLOG}" ${ROTATESEC} &
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user