Disconnecting from the server
Igor Korot <ikorot01@gmail.com>
From: Igor Korot <ikorot01@gmail.com>
To: "pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2026-05-17T02:29:03Z
Lists: pgsql-general
Hi, ALL. Let's say I'm debugging my application. I establish a successful connection to the server and start debugging. During the debugging session I found a bug/issue. In this case what I usually do is I stop and exit the debugger essentially imitating the program crash. What will happen in this case? I presume the connection will be closed the socket becomes available and the server will clear all resources associated with the connection? Or should I perform some clean-up on the server - some kind of "connection pool reset" so that the resources associated with the connection will be gone? Please clarify. Thank you.