aboutsummaryrefslogtreecommitdiff
path: root/src/backend/postmaster/postmaster.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-02-10 16:01:04 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-02-10 16:01:04 -0500
commitc5e9b771275b93b09eec6b760677fe6c5e726ab2 (patch)
tree64bdead0a1170f910f40aa95d55bc4f953235b9e /src/backend/postmaster/postmaster.c
parent79a7ff0fe56ac9d782b0734ebb0e7a5299015e58 (diff)
downloadpostgresql-c5e9b771275b93b09eec6b760677fe6c5e726ab2.tar.gz
postgresql-c5e9b771275b93b09eec6b760677fe6c5e726ab2.zip
Revert "Temporarily make pg_ctl and server shutdown a whole lot chattier."
This reverts commit 3971f64843b02e4a55d854156bd53e46a0588e45 and a couple of followon debugging commits; I think we've learned what we can from them.
Diffstat (limited to 'src/backend/postmaster/postmaster.c')
-rw-r--r--src/backend/postmaster/postmaster.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index a5fa1d4720a..b16fc28a27d 100644
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -2538,8 +2538,7 @@ pmdie(SIGNAL_ARGS)
break;
Shutdown = SmartShutdown;
ereport(LOG,
- (errmsg("received smart shutdown request at %s",
- current_time_as_str())));
+ (errmsg("received smart shutdown request")));
#ifdef USE_SYSTEMD
sd_notify(0, "STOPPING=1");
#endif
@@ -2594,8 +2593,7 @@ pmdie(SIGNAL_ARGS)
break;
Shutdown = FastShutdown;
ereport(LOG,
- (errmsg("received fast shutdown request at %s",
- current_time_as_str())));
+ (errmsg("received fast shutdown request")));
#ifdef USE_SYSTEMD
sd_notify(0, "STOPPING=1");
#endif
@@ -2658,8 +2656,7 @@ pmdie(SIGNAL_ARGS)
break;
Shutdown = ImmediateShutdown;
ereport(LOG,
- (errmsg("received immediate shutdown request at %s",
- current_time_as_str())));
+ (errmsg("received immediate shutdown request")));
#ifdef USE_SYSTEMD
sd_notify(0, "STOPPING=1");
#endif
@@ -2850,9 +2847,6 @@ reaper(SIGNAL_ARGS)
*/
Assert(Shutdown > NoShutdown);
- elog(LOG, "checkpointer dead at %s",
- current_time_as_str());
-
/* Waken archiver for the last time */
if (PgArchPID != 0)
signal_child(PgArchPID, SIGUSR2);
@@ -3714,9 +3708,6 @@ PostmasterStateMachine(void)
if (ReachedNormalRunning)
CancelBackup();
- elog(LOG, "all children dead at %s",
- current_time_as_str());
-
/* Normal exit from the postmaster is here */
ExitPostmaster(0);
}