Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> I think eventually pg_ctl should be folded into the postmaster executable.
> This would remove a great amount of possible misunderstandings between the
> two programs.
Like what?
The thing pg_ctl needs to know is where PGDATA is, and that
unfortunately isn't going to be known any better just by sharing
executables.
I don't object to C-ifying pg_ctl, but I don't see that it will
automatically improve pg_ctl's robustness materially.
regards, tom lane