Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wORFr-001mn1-0D for pgsql-general@arkaria.postgresql.org; Sun, 17 May 2026 02:29:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wORFo-004fPZ-2s for pgsql-general@arkaria.postgresql.org; Sun, 17 May 2026 02:29:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wORFo-004fPQ-1e for pgsql-general@lists.postgresql.org; Sun, 17 May 2026 02:29:20 +0000 Received: from mail-yw1-x112b.google.com ([2607:f8b0:4864:20::112b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wORFm-000000016pi-0bfE for pgsql-general@lists.postgresql.org; Sun, 17 May 2026 02:29:19 +0000 Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-7c23248f3a3so5498187b3.1 for ; Sat, 16 May 2026 19:29:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778984955; cv=none; d=google.com; s=arc-20240605; b=O69gTHnuR7xQkTMliintmaEXvU97INyMcdaUOGdiKfkEQM1awg+xMa3j4QBBC3pPWI rSRlsX8TLAOyZf1/dk0RHUqYIrdgJJgy5Xp6l2w2t176KmtAowl2j+NA89XfGKwnECeW HYIcP1yfhc9nUmgeB0S4GX2Ac6iYcNswUzSPlsngeL3cOQfwDLI3PxGi/hAEkYoX+PrK 4kUE0S/4LPu8EG+xF2YUbHqnIrVaa/c+WKNiSVSQhvObrsdcvvj53ev3eX6ysKqZsiay EMzyIDiE2KzQt3tfiEQfxihaZ6vD3VJIrIZtcEZSTWKm8QcE1s2X/K6K3whU3o/y2LAM bjQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=/nmR+vzXAJkCS3GRVFfl91xVYj3H62eXIlGcZkUtY5A=; fh=2DoGC78b0mi8uZ4UY+9ocPF86GSVzeaJWqou/x907js=; b=Dz4OZKumPIsrNVGIqwZqfG2YfvcjvSll90cBk26+USp3GA0OCQ+5FxGI3PAWHBFeSF SL9OdwLW0+7AL7+tN/CkrWuXAr6Cw9AY7DY4iicPkVH4zUP1fVqaNxl0YmtlhCevdxZa J0L9OEYsuuFMFS1xLlZsQr4Lq0nuqmQDFh4TszvtuC4pmJiWAiklVP/vaCEFiVSIQd5h c8nqp8nxK1z6lxgbnQNCK82KadIMFtYpOBiljDOy2ffDUUC+docND9CrF+NTFp31n+2o SOPEyzNHNET8Uaquw/8CSuMfVmyJVclzuOo6IAVbIXy9pkpF/rZcDBBj1TsT1Q6M2u6P gBYw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778984955; x=1779589755; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=/nmR+vzXAJkCS3GRVFfl91xVYj3H62eXIlGcZkUtY5A=; b=d9l8bD7tIAC8eHTq4MPSqlb7Iz3f7R0OiEOkGZLU8WoMr1WAsum1D6a6FeufrK+kXA ScgcoqLQefyC7UEe6oAH0GkG54EP3ahnQBO5RnMEr7DiCqJrtl2LMPMjqzO1Ut2cDrCZ 9UPsfuKNip1vgNeowEnP2szsZ7Z10NcWVhhVo87H+D6T08CSyVdGgeGQlA6zlhOONe5H OSryAAp4e9MF4OxBUESB8BvHgDfZNPsHFti2r/nxbgLR4Jya1wV2bJfHYYIHXcZbx0Ct K4OyiiLemdyV0J0y+FNWBg4R93CI+muhQehceTT1q12D3VR06zo9Laa90qitjgHu2mtQ dcpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778984955; x=1779589755; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/nmR+vzXAJkCS3GRVFfl91xVYj3H62eXIlGcZkUtY5A=; b=hmNvl9k8cpKBJZjLIWul2UyXdT6XZE63JFNNQvF2U5OCFzwkaIu6Zg7lhJ0BqCbUIk WPuipB7YA5fL0HEz4t0yAotQ3zQ7Pleog5zz692JPJhIxltvDRH++zotdzDGM6jIZ8zW Jy4KCs5DOcEgcYlWlvunCcBlt1W+yH63BCYvW+wDkfKAfR1WI+BqFFc8xv5HSR0o4js7 8RRJLytQxcwt/K5+Xny+i87Xb57sq7dLzbFlG54DjXvW6iAUK06f3EDqmsDECkATG13n 1NLyhe+HqYYxLtYiC+fgBePQcbUxUWmONCh3mbhErZEC9qLRZDf0QwOvorAFpz1plAJh WzsA== X-Gm-Message-State: AOJu0YzfbZyeFtgNmb1mAkgx8qRnPae5OPeojzsXcZdP20+UtqxDOjPV z7VhYK6JBJnutXsL6HFkjTYzzHVjSBLbHp8+EGEW0laVEpbAkUGYglqRmjMLVSYMflwh8IjiU3c UQ03cN+vzAnxYNe3rYGmT3MYULZi4SFV2t1Ek X-Gm-Gg: Acq92OH1ZrDFl7qzPPezeUjS2pW+RdNdDflIz6o0RUiNyvOVg7vhW7dHPvDowfZHhrk TKGdEktaVB2YYQeCVkFf/vRPKbsrzF7fNMBycHARsy0o2a2CaaOx1Y8VWXMlAkmfwL+9j4baoJq F6h78r50+nQsX8yB2fyFpMhBanwkJDngrXv26zzHYSGezP2WMrSrxd2QcRmpkfzVZ4iDETBmAsV RZD2jzn4G57v6HJsvahVe3cbFZN20xeGtNrPBYw4R07S1kbapKCjC1y4PphfiJKkx3FgyjVcdBR gtPnTBJQo6tREgBbJHj62mtSK6XQ1glqAkI= X-Received: by 2002:a05:690c:7341:b0:7bd:7039:f30a with SMTP id 00721157ae682-7c95d2d6960mr108777097b3.48.1778984955285; Sat, 16 May 2026 19:29:15 -0700 (PDT) MIME-Version: 1.0 From: Igor Korot Date: Sat, 16 May 2026 21:29:03 -0500 X-Gm-Features: AVHnY4LVUzJrk_y9pZ0o8rk6CN89G4G6qkbtK8SAssPijUfvxUHQqry3gOenxiU Message-ID: Subject: Disconnecting from the server To: "pgsql-generallists.postgresql.org" Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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.