Re: Reopen logfile on SIGHUP
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Greg Stark <stark@mit.edu>, Anastasia Lubennikova <a.lubennikova@postgrespro.ru>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-02-28T01:54:45Z
Lists: pgsql-hackers
On Tue, Feb 27, 2018 at 05:52:20PM -0500, Tom Lane wrote: > It already does treat SIGUSR1 as a log rotation request. Apparently > the point of this patch is that some people don't find that easy enough > to use, which is fair, because finding out the collector's PID from > outside isn't very easy. True enough. The syslogger does not show up in pg_stat_activity either, so I think that being able to do so would help for this case. -- Michael
Commits
-
Implement "pg_ctl logrotate" command
- ec7436993168 12.0 landed