public inbox for pgsql-general@postgresql.org
help / color / mirror / Atom feedFrom: Igor Korot <ikorot01@gmail.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Disconnecting from the server
Date: Sat, 16 May 2026 21:29:03 -0500
Message-ID: <CA+FnnTxstJUyArwrbMdSvH1VBMepUD9s2TYLwKAOE+P_OaiX5A@mail.gmail.com> (raw)
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.
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-general@postgresql.org
Cc: ikorot01@gmail.com, pgsql-general@lists.postgresql.org
Subject: Re: Disconnecting from the server
In-Reply-To: <CA+FnnTxstJUyArwrbMdSvH1VBMepUD9s2TYLwKAOE+P_OaiX5A@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox