Disconnecting from the server

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Disconnecting from the server
Date: 2026-05-17 02:29:03
Message-ID: CA+FnnTxstJUyArwrbMdSvH1VBMepUD9s2TYLwKAOE+P_OaiX5A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2026-05-17 02:50:33 Re: Disconnecting from the server
Previous Message Vladimir Sitnikov 2026-05-16 14:37:38 Re: Double prepare