@@ -3514,7 +3514,7 @@ pgstat_write_statsfiles(bool permanent, bool allDbs)
35143514const char * statfile = permanent ?PGSTAT_STAT_PERMANENT_FILENAME :pgstat_stat_filename ;
35153515int rc ;
35163516
3517- elog (DEBUG2 ,"writingstatsfile '%s' " ,statfile );
3517+ elog (DEBUG2 ,"writingstats file \"%s\" " ,statfile );
35183518
35193519/*
35203520 * Open the statistics temp file to write out the current values.
@@ -3685,7 +3685,7 @@ pgstat_write_db_statsfile(PgStat_StatDBEntry *dbentry, bool permanent)
36853685get_dbstat_filename (permanent , true,dbid ,tmpfile ,MAXPGPATH );
36863686get_dbstat_filename (permanent , false,dbid ,statfile ,MAXPGPATH );
36873687
3688- elog (DEBUG2 ,"writingstatsfile '%s' " ,statfile );
3688+ elog (DEBUG2 ,"writingstats file \"%s\" " ,statfile );
36893689
36903690/*
36913691 * Open the statistics temp file to write out the current values.
@@ -3766,7 +3766,7 @@ pgstat_write_db_statsfile(PgStat_StatDBEntry *dbentry, bool permanent)
37663766{
37673767get_dbstat_filename (false, false,dbid ,statfile ,MAXPGPATH );
37683768
3769- elog (DEBUG2 ,"removing temporarystat file'%s' " ,statfile );
3769+ elog (DEBUG2 ,"removing temporarystats file\"%s\" " ,statfile );
37703770unlink (statfile );
37713771}
37723772}
@@ -3966,7 +3966,7 @@ pgstat_read_statsfiles(Oid onlydb, bool permanent, bool deep)
39663966/* If requested to read the permanent file, also get rid of it. */
39673967if (permanent )
39683968{
3969- elog (DEBUG2 ,"removing permanent stats file'%s' " ,statfile );
3969+ elog (DEBUG2 ,"removing permanent stats file\"%s\" " ,statfile );
39703970unlink (statfile );
39713971}
39723972
@@ -4124,7 +4124,7 @@ pgstat_read_db_statsfile(Oid databaseid, HTAB *tabhash, HTAB *funchash,
41244124
41254125if (permanent )
41264126{
4127- elog (DEBUG2 ,"removing permanent stats file'%s' " ,statfile );
4127+ elog (DEBUG2 ,"removing permanent stats file\"%s\" " ,statfile );
41284128unlink (statfile );
41294129}
41304130
@@ -4423,7 +4423,7 @@ pgstat_recv_inquiry(PgStat_MsgInquiry *msg, int len)
44234423DBWriteRequest * newreq ;
44244424PgStat_StatDBEntry * dbentry ;
44254425
4426- elog (DEBUG2 ,"received inquiry for%d " ,msg -> databaseid );
4426+ elog (DEBUG2 ,"received inquiry fordatabase %u " ,msg -> databaseid );
44274427
44284428/*
44294429 * Find the last write request for this DB. If it's older than the
@@ -4481,7 +4481,7 @@ pgstat_recv_inquiry(PgStat_MsgInquiry *msg, int len)
44814481writetime = pstrdup (timestamptz_to_str (dbentry -> stats_timestamp ));
44824482mytime = pstrdup (timestamptz_to_str (cur_ts ));
44834483elog (LOG ,
4484- "stats_timestamp %s is later than collector's time %s fordb %d " ,
4484+ "stats_timestamp %s is later than collector's time %s fordatabase %u " ,
44854485writetime ,mytime ,dbentry -> databaseid );
44864486pfree (writetime );
44874487pfree (mytime );
@@ -4653,7 +4653,7 @@ pgstat_recv_dropdb(PgStat_MsgDropdb *msg, int len)
46534653
46544654get_dbstat_filename (false, false,dbid ,statfile ,MAXPGPATH );
46554655
4656- elog (DEBUG2 ,"removing%s " ,statfile );
4656+ elog (DEBUG2 ,"removingstats file \"%s\" " ,statfile );
46574657unlink (statfile );
46584658
46594659if (dbentry -> tables != NULL )