]> granicus.if.org Git - postgresql/commit
When a background worker exists with code 0, unregister it.
authorRobert Haas <rhaas@postgresql.org>
Wed, 7 May 2014 21:43:39 +0000 (17:43 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 7 May 2014 21:44:42 +0000 (17:44 -0400)
commitbe7558162acc5578d0b2cf0c8d4c76b6076ce352
treec5e0719f9466a216eb748661baaac7cf122752aa
parent7572b7735971cd7a5ef289e133eedf7d82f79c42
When a background worker exists with code 0, unregister it.

The previous behavior was to restart immediately, which was generally
viewed as less useful.

Petr Jelinek, with some adjustments by me.
doc/src/sgml/bgworker.sgml
src/backend/postmaster/bgworker.c
src/backend/postmaster/postmaster.c
src/include/postmaster/bgworker.h