Repository navigation
Commit e8bfeca
docs: say reconnect() does not resume the lost transaction
Apply the review suggestion. The transaction-state reset only happens
when ping() returns false, and PostgreSQL's pg_ping() can re-establish a
broken connection and return true. The lost transaction is not resumed,
later writes may autocommit, and the code that owns the whole transaction
has to handle the failure before retrying.
Drop the issue link from the changelog entry to match the changelog style.
Co-authored-by: Michal Sniatala <459185+michalsn@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 4a25d53 commit e8bfeca
2 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
110 | 118 | | |
111 | 119 | | |
112 | 120 | | |
| |||
0 commit comments