postgresql/src/backend/postmaster
Alvaro Herrera da1a9d0f5b Clamp autovacuum launcher sleep time to 5 minutes
This avoids the problem that it might go to sleep for an unreasonable
amount of time in unusual conditions like the server clock moving
backwards an unreasonable amount of time.

(Simply moving the server clock forward again doesn't solve the problem
unless you wake up the autovacuum launcher manually, say by sending it
SIGHUP).

Per trouble report from Prakash Itnal in
https://www.postgresql.org/message-id/CAHC5u79-UqbapAABH2t4Rh2eYdyge0Zid-X=Xz-ZWZCBK42S0Q@mail.gmail.com

Analyzed independently by Haribabu Kommi and Tom Lane.
2015-06-19 12:44:36 -03:00
..
Makefile Allow background workers to be started dynamically. 2013-07-16 13:02:15 -04:00
autovacuum.c Clamp autovacuum launcher sleep time to 5 minutes 2015-06-19 12:44:36 -03:00
bgworker.c pgindent run for 9.5 2015-05-23 21:35:49 -04:00
bgwriter.c Fix more typos in comments. 2015-05-20 19:45:43 +03:00
checkpointer.c Replace checkpoint_segments with min_wal_size and max_wal_size. 2015-02-23 18:53:02 +02:00
fork_process.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
pgarch.c Tweak __attribute__-wrapping macros for better pgindent results. 2015-03-26 14:03:25 -04:00
pgstat.c pgindent run for 9.5 2015-05-23 21:35:49 -04:00
postmaster.c Make postmaster restart archiver soon after it dies, even during recovery. 2015-06-12 23:11:51 +09:00
startup.c Commonalize process startup code. 2015-01-14 00:33:14 +01:00
syslogger.c Tweak __attribute__-wrapping macros for better pgindent results. 2015-03-26 14:03:25 -04:00
walwriter.c Add a default local latch for use in signal handlers. 2015-01-14 18:45:22 +01:00