Restart bgworkers immediately after a crash-and-restart cycle. Just as we would start bgworkers immediately after an initial startup of the server, we should restart them immediately when reinitializing.
Petr Jelinek and Robert Haas Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/970d1f76d1600dfbdbd9cd88a9e2af113e253798 Modified Files -------------- src/backend/postmaster/bgworker.c | 34 ++++++++++++++++++++++----- src/backend/postmaster/postmaster.c | 7 +++--- src/include/postmaster/bgworker_internals.h | 1 + 3 files changed, 33 insertions(+), 9 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers