Andres Freund <andres@2ndquadrant.com> writes:
> I can see why that would be nice, but is it really realistic? Don't we
> expect some more diligence in applications using this against letting
> such a child continue to run after ctrl-c/SIGTERMing e.g. pg_dump in
> comparison to closing a normal database connection?
Er, what? If you kill the client, the child postgres will see
connection closure and will shut down. I already tested that with the
POC patch, it worked fine.
regards, tom lane