Hi Manu,

Thanks for the quick update and the gdb repro. I tested v2 and it
works for all three points.

One case is still stuck. A backend can block while it sends an
error. It holds interrupts then, so SIGTERM does nothing. v2 still
logs "terminating process". That can confuse users.

For the large value case, maybe add a send counter in PGPROC. If the
counter moves during the timeout, the client is slow but alive. I
have not tried this.

Thanks,
Shihao

Reply via email to