Re: Reopen logfile on SIGHUP

Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>

From: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
To: michael@paquier.xyz
Cc: a.kuzmenkov@postgrespro.ru, sk@zsrv.org, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, andres@anarazel.de, stark@mit.edu, a.lubennikova@postgrespro.ru, pgsql-hackers@postgresql.org, g.smolkin@postgrespro.ru
Date: 2018-08-29T00:17:05Z
Lists: pgsql-hackers
At Tue, 21 Aug 2018 11:27:46 +0900, Michael Paquier <michael@paquier.xyz> wrote in <20180821022745.GE2897@paquier.xyz>
> On Tue, Aug 21, 2018 at 09:26:54AM +0900, Kyotaro HORIGUCHI wrote:
> > I suspect that something bad can happen on Windows.
> 
> [troll mode]
> More and even worse things than that could happen on Windows.
> [/troll mode]

I don't have a candy for you just now:p

Well, I take that as it's a kind of no-problem to remove files in
signal handlers on Windows.

thanks.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



Commits

  1. Implement "pg_ctl logrotate" command