Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> pg_ctl: Detect current standby state from pg_control
Coverity thinks that this patch introduced a bunch of
null-pointer-dereference hazards, and AFAICS it is right.
The change in get_controlfile()'s API is completely broken
and needs to be undone.
regards, tom lane