]> granicus.if.org Git - postgresql/commit
Remove bgw_sighup and bgw_sigterm.
authorRobert Haas <rhaas@postgresql.org>
Mon, 22 Jul 2013 18:13:00 +0000 (14:13 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 22 Jul 2013 18:13:00 +0000 (14:13 -0400)
commitf40a318eeaed0c66fcb2ddd442006e54bf49c634
treead7b6ddbadf0c36dd1171603ee4cb2da5a2e8f1c
parent0518eceec3a1cc2b71da04e839f05f555fdd8567
Remove bgw_sighup and bgw_sigterm.

Per discussion on pgsql-hackers, these aren't really needed.  Interim
versions of the background worker patch had the worker starting with
signals already unblocked, which would have made this necessary.
But the final version does not, so we don't really need it; and it
doesn't work well with the new facility for starting dynamic background
workers, so just rip it out.

Also per discussion on pgsql-hackers, back-patch this change to 9.3.
It's best to get the API break out of the way before we do an
official release of this facility, to avoid more pain for extension
authors later.
contrib/worker_spi/worker_spi.c
doc/src/sgml/bgworker.sgml
src/backend/postmaster/bgworker.c
src/backend/postmaster/postmaster.c
src/include/postmaster/bgworker.h