aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2019-03-18 15:21:09 -0400
committerRobert Haas <rhaas@postgresql.org>2019-03-18 15:22:42 -0400
commit1459e84cb2e57649627753ad1279428d35590df6 (patch)
tree6d0f78110d7b4fc4138fcd1c9b7777b14239e821 /src/backend/access/gist/gistget.c
parent6776142a07afb4c28961f27059d800196902f5f1 (diff)
downloadpostgresql-1459e84cb2e57649627753ad1279428d35590df6.tar.gz
postgresql-1459e84cb2e57649627753ad1279428d35590df6.zip
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
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions