Peter Eisentraut <peter_e@gmx.net> writes:
>> Like what?
> The biggie is that pg_ctl reports the postmaster to have started
> successfully without ever checking. And the "wait" option is broken and
> not trivial to fix.
Indeed, but how will it help to merge the two executables into one?
I don't think you can simply postpone the fork() until all setup
is complete --- that would mean you don't know the final postmaster
PID until much too late.
regards, tom lane