git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 76568d3)
Make whitespace consistent inside some script files
2017年1月12日 17:00:00 +0000 (12:00 -0500)
2017年1月12日 15:17:37 +0000 (10:17 -0500)
I don't know what the global standard might be, but at least adjacent
code should use the same whitespace.


diff --git a/contrib/start-scripts/linux b/contrib/start-scripts/linux
index 763a8064abb9fcee866e350142f32aa5fbfcb6c1..c88433a0e2b32c47c729be5ac3490e5203b54295 100644 (file)
--- a/contrib/start-scripts/linux
+++ b/contrib/start-scripts/linux
@@ -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'"
;;
diff --git a/contrib/start-scripts/osx/PostgreSQL b/contrib/start-scripts/osx/PostgreSQL
index 24872b0944d992cd06aefc68c435ea86a58c7ec2..d38504dcc2684c16f358c06d27ce3cd403a62ba5 100755 (executable)
--- a/contrib/start-scripts/osx/PostgreSQL
+++ b/contrib/start-scripts/osx/PostgreSQL
@@ -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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /