The logfile stop upgrade after a vim write

ma lz <ma100@hotmail.com>

From: lz ma <ma100@hotmail.com>
To: "pgsql-general@lists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2023-05-04T09:54:26Z
Lists: pgsql-general
  1.   pg_ctl -D data -l  MyLog
  2.   vim MyLog : add some words, save and exit
  3.  after vim operation, MyLog will never upgrade except restart server

I know it caused by file descripter only open once at the start by postgres, and vim operation rename the file to MyLog~, so postgres can't upgrade