pgsql: Remove duplicate InitPostmasterChild() call while starting a bgw - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Remove duplicate InitPostmasterChild() call while starting a bgw
Date
Msg-id E1bUiLb-00023h-5K@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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: <CAEepm=1VOnbVx4wsgQFvj94hu9jVt2nVabCr7QiooUSvPJXkgQ@mail.gmail.com>

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5816f21d8c7311ff5320c20a9d90c9e98649cec4

Modified Files
--------------
src/backend/postmaster/postmaster.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Remove duplicate InitPostmasterChild() call while starting a bgw
Next
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Remove slightly confusing xreflabels