mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-31 07:37:26 +02:00
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 |
||
---|---|---|
.. | ||
autoprewarm.c | ||
Makefile | ||
pg_prewarm--1.0--1.1.sql | ||
pg_prewarm--1.1--1.2.sql | ||
pg_prewarm--1.1.sql | ||
pg_prewarm.c | ||
pg_prewarm.control |