Skip to content

Commit c0f9597

Browse files
committed
Imporve messages.
1 parent ee6a916 commit c0f9597

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/bin/pg_ctl/pg_ctl.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
#
1010
# IDENTIFICATION
11-
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.16 2000/11/29 20:59:53 tgl Exp $
11+
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.17 2000/12/30 06:10:43 ishii Exp $
1212
#
1313
#-------------------------------------------------------------------------
1414

@@ -215,7 +215,7 @@ if [ $op = "stop" -o $op = "restart" ];then
215215

216216
kill $sig $PID
217217

218-
# wait for postmaster shutting down
218+
# wait for postmaster to shut down
219219
if [ "$wait" = 1 -o $op = "restart" ];then
220220
cnt=0
221221
$ECHO_N "Waiting for postmaster to shut down.."$ECHO_C
@@ -226,18 +226,19 @@ if [ $op = "stop" -o $op = "restart" ];then
226226
$ECHO_N "."$ECHO_C
227227
cnt=`expr $cnt + 1`
228228
if [ $cnt -gt 60 ];then
229-
echo "$CMDNAME: postmaster does not shut down"
229+
echo "failed."
230+
echo "postmaster does not shut down."
230231
exit 1
231232
fi
232233
else
233234
break
234235
fi
235236
sleep 1
236237
done
237-
echo "done"
238+
echo "done."
238239
fi
239240

240-
echo "postmaster successfully shut down"
241+
echo "postmaster successfully shut down."
241242

242243
else
243244
echo "$CMDNAME: cannot find $PIDFILE"
@@ -281,7 +282,7 @@ if [ $op = "start" -o $op = "restart" ];then
281282
fi
282283
fi
283284

284-
# wait for postmaster starting up
285+
# wait for postmaster to start up
285286
if [ "$wait" = 1 ];then
286287
cnt=0
287288
$ECHO_N "Waiting for postmaster to start up.."$ECHO_C

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy