forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3497c87
committed
Fix copy-paste mistake in PQcancelCreate
When an OOM occurred, this function was incorrectly setting a status ofCONNECTION_BAD on the passed in PGconn instead of on the newly createdPGcancelConn.Mistake introduced with61461a3. Backpatch to 17.Author: Jelte Fennema-Nio <postgres@jeltef.nl>Reported-by: Noah Misch <noah@leadboat.com>Discussion:https://postgr.es/m/20240630190040.26.nmisch@google.com1 parent12227a1 commit3497c87
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
155 | 155 |
| |
156 | 156 |
| |
157 | 157 |
| |
158 |
| - | |
| 158 | + | |
159 | 159 |
| |
160 | 160 |
| |
161 | 161 |
| |
|
0 commit comments
Comments
(0)