• Tom Lane's avatar
    Code review for EXEC_BACKEND changes. Reduce the number of #ifdefs by · 1a321f26
    Tom Lane authored
    about a third, make it work on non-Windows platforms again.  (But perhaps
    I broke the WIN32 code, since I have no way to test that.)  Fold all the
    paths that fork postmaster child processes to go through the single
    routine SubPostmasterMain, which takes care of resurrecting the state that
    would normally be inherited from the postmaster (including GUC variables).
    Clean up some places where there's no particularly good reason for the
    EXEC and non-EXEC cases to work differently.  Take care of one or two
    FIXMEs that remained in the code.
    1a321f26
miscadmin.h 11.3 KB