diff --git a/src/gausskernel/process/postmaster/pgstat.cpp b/src/gausskernel/process/postmaster/pgstat.cpp index 3e9443c70..e757835da 100644 --- a/src/gausskernel/process/postmaster/pgstat.cpp +++ b/src/gausskernel/process/postmaster/pgstat.cpp @@ -8467,6 +8467,9 @@ static void pgstat_recv_filestat(PgStat_MsgFile* msg, int len) } } fileStatCount = minLocation; + ereport(DEBUG1, (errmodule(MOD_INSTR), + errmsg("the latest filenum is %d, update is %ld", + fileStatCount, pgStatFileArray[fileStatCount].time))); } entry = (PgStat_FileEntry*)&pgStatFileArray[fileStatCount];