@@ -3107,12 +3107,7 @@ PgstatCollectorMain(int argc, char *argv[])
3107
3107
* satisfied by existing file.
3108
3108
*/
3109
3109
if (last_statwrite < last_statrequest )
3110
- {
3111
- elog (LOG , "pgstat: writing new stats file" );
3112
3110
pgstat_write_statsfile (false);
3113
- }
3114
-
3115
- elog (LOG , "pgstat: attempting recv()" );
3116
3111
3117
3112
/*
3118
3113
* Try to receive and process a message. This will not block,
@@ -3141,9 +3136,6 @@ PgstatCollectorMain(int argc, char *argv[])
3141
3136
errmsg ("could not read statistics message: %m" )));
3142
3137
}
3143
3138
3144
- elog (LOG , "pgstat: received msg type %d len %d" ,
3145
- msg .msg_hdr .m_type , len );
3146
-
3147
3139
/*
3148
3140
* We ignore messages that are smaller than our common header
3149
3141
*/
@@ -3238,17 +3230,13 @@ PgstatCollectorMain(int argc, char *argv[])
3238
3230
}
3239
3231
} /* end of inner message-processing loop */
3240
3232
3241
- elog (LOG , "pgstat: waiting" );
3242
-
3243
3233
/* Sleep until there's something to do */
3244
3234
/* XXX should not need a timeout here */
3245
3235
wr = WaitLatchOrSocket (& pgStatLatch ,
3246
3236
WL_LATCH_SET | WL_POSTMASTER_DEATH | WL_SOCKET_READABLE | WL_TIMEOUT ,
3247
3237
pgStatSock ,
3248
3238
2000L );
3249
3239
3250
- elog (LOG , "pgstat: wait result 0x%x" , wr );
3251
-
3252
3240
/*
3253
3241
* Emergency bailout if postmaster has died. This is to avoid the
3254
3242
* necessity for manual cleanup of all postmaster children.
@@ -4031,15 +4019,7 @@ static void
4031
4019
pgstat_recv_inquiry (PgStat_MsgInquiry * msg , int len )
4032
4020
{
4033
4021
if (msg -> inquiry_time > last_statrequest )
4034
- {
4035
4022
last_statrequest = msg -> inquiry_time ;
4036
- if (last_statwrite < last_statrequest )
4037
- elog (LOG , "pgstat: received new inquiry message" );
4038
- else
4039
- elog (LOG , "pgstat: received stale inquiry message" );
4040
- }
4041
- else
4042
- elog (LOG , "pgstat: received out-of-order inquiry message" );
4043
4023
}
4044
4024
4045
4025
0 commit comments