Skip to content

Commit 89afb38

Browse files
committed
Update release notes for PR #86
1 parent 6c82d72 commit 89afb38

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.release-notes/graceful-termination.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.release-notes/next-release.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,3 +240,9 @@ end)
240240
rs1 == rs2 // true
241241
```
242242

243+
## Send Terminate message before closing TCP connection
244+
245+
`Session.close()` now sends a Terminate message to the PostgreSQL server before closing the TCP connection. Previously, the connection was hard-closed without notifying the server, which could leave server-side resources (session state, prepared statements, temp tables) lingering until the server detected the broken connection on its next I/O attempt.
246+
247+
No code changes are needed — `Session.close()` handles this automatically.
248+

0 commit comments

Comments
 (0)