Michael Paquier <michael.paquier@gmail.com> writes:
> Second idea: return a status with parseInput as it is not part of the APIs
> of libpq.
Yeah; most subroutines in libpq have a zero-or-EOF return convention,
we can make parseInput do likewise. I'm not sure if that'd need to
propagate further down though ...
regards, tom lane