forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6d2ac55
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 parent0f934b0 commit6d2ac55
1 file changed
+1
-1
lines changed| 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)