postgresql/contrib/pg_prewarm
Robert Haas fc8b39a46e Don't auto-restart per-database autoprewarm workers.
We should try to prewarm each database only once.  Otherwise, if
prewarming fails for some reason, it will just keep retrying in an
infnite loop.  This can happen if, for example, the database has been
dropped.  The existing code was intended to implement the try-once
behavior, but failed to do so because it neglected to set
worker.bgw_restart_time to BGW_NEVER_RESTART.

Mithun Cy, per a report from Hans Buschmann

Discussion: http://postgr.es/m/CA+hUKGKpQJCWcgyy3QTC9vdn6uKAR_8r__A-MMm2GYfj45caag@mail.gmail.com
2019-03-18 15:30:32 -04:00
..
Makefile pg_prewarm: Add automatic prewarm feature. 2017-08-21 14:17:39 -04:00
autoprewarm.c Don't auto-restart per-database autoprewarm workers. 2019-03-18 15:30:32 -04:00
pg_prewarm--1.0--1.1.sql Update pg_prewarm extension for parallel query. 2016-06-09 17:18:18 -04:00
pg_prewarm--1.1--1.2.sql pg_prewarm: Add automatic prewarm feature. 2017-08-21 14:17:39 -04:00
pg_prewarm--1.1.sql Update pg_prewarm extension for parallel query. 2016-06-09 17:18:18 -04:00
pg_prewarm.c Avoid using potentially-under-aligned page buffers. 2018-09-01 15:27:13 -04:00
pg_prewarm.control pg_prewarm: Add automatic prewarm feature. 2017-08-21 14:17:39 -04:00