> On 04/05/2023 11:54 CEST lz ma <ma100@hotmail.com> wrote:
>
> 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
set backupcopy=yes in .vimrc
But why would you edit active log files?
--
Erik