> 2025年8月21日 23:07,Jingtang Zhang <mrdrivingd...@gmail.com> 写道: > > Also, in this situation, should startup process be treated as a background > worker similar to bgwriter/checkpointer and call smgrdestroyall in some > period?
Agree with that. Maybe we can call smgrdestroyall in startup process when replaying CHECKPOINT records, just like bgwriter/checkpointer, which free all smgr objects after any checkpoint. Best regards, Yuhang Qiu