Remove duplicate InitPostmasterChild() call while starting a bgworker.
authorTom Lane
Tue, 2 Aug 2016 22:39:14 +0000 (18:39 -0400)
committerTom Lane
Tue, 2 Aug 2016 22:39:14 +0000 (18:39 -0400)
commit5816f21d8c7311ff5320c20a9d90c9e98649cec4
tree5f4abf6389205337b4e9c73b5dbf2d0f685c23dc
parentd02b38799d956ae6e8d600f081212448abe3f30e
Remove duplicate InitPostmasterChild() call while starting a bgworker.

This is apparently harmless on Windows, but on Unix it results in an
assertion failure.  We'd not noticed because this code doesn't get
used on Unix unless you build with -DEXEC_BACKEND.  Bug was evidently
introduced by sloppy refactoring in commit 31c453165.

Thomas Munro

Discussion: 
src/backend/postmaster/postmaster.c