Andrew - Supernews <andrew+nonews@supernews.com> writes:
> Then the client has to guarantee that it can stop whatever it was doing
> (which might have nothing to do with the database) every so often in
> order to send a message; this isn't feasible for most clients.
It's certainly infeasible for libpq, which has no portable way to force
the calling app to give it control.
regards, tom lane