git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 12227a1) | patch
Fix copy-paste mistake in PQcancelCreate
Mon, 1 Jul 2024 11:58:22 +0000 (13:58 +0200)
Mon, 1 Jul 2024 11:58:22 +0000 (13:58 +0200)
commit 3497c87b05a6ba31e8d760591900d550b2ef98bc
Fix copy-paste mistake in PQcancelCreate

When an OOM occurred, this function was incorrectly setting a status of
CONNECTION_BAD on the passed in PGconn instead of on the newly created
PGcancelConn.

Mistake introduced with 61461a300c1c. 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.com
src/interfaces/libpq/fe-cancel.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /