pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: lz ma <ma100@hotmail.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: The logfile stop upgrade after a vim write
Date: Thu, 4 May 2023 09:54:26 +0000
Message-ID: <TYWP286MB3002B9499CF02778A86C747DF26D9@TYWP286MB3002.JPNP286.PROD.OUTLOOK.COM> (raw)

  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

view thread (2+ messages)  latest in thread

Message-ID: <TYWP286MB3002B9499CF02778A86C747DF26D9@TYWP286MB3002.JPNP286.PROD.OUTLOOK.COM>
Permalink:  ../TYWP286MB3002B9499CF02778A86C747DF26D9@TYWP286MB3002.JPNP286.PROD.OUTLOOK.COM/
Also on:    postgresql.org/message-id/TYWP286MB3002B9499CF02778A86C747DF26D9@TYWP286MB3002.JPNP286.PROD.OUTLOOK.COM

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ma100@hotmail.com
  Subject: Re: The logfile stop upgrade after a vim write
  In-Reply-To: <TYWP286MB3002B9499CF02778A86C747DF26D9@TYWP286MB3002.JPNP286.PROD.OUTLOOK.COM>
  References: <TYWP286MB3002B9499CF02778A86C747DF26D9@TYWP286MB3002.JPNP286.PROD.OUTLOOK.COM>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox