]> 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 19:15:22 +0000 (15:15 -0400)
commit295f9bbf1d2d1e985471bd523c7c9bfd3d134759
treeaf73717f9704d781061ac6b1bc8d573d4de8ba3a
parent15b9bdf4d46e5b2858c7666dd4a39040aa12e668
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/postmaster.c
src/include/postmaster/bgworker.h