Fix copy-and-past thinko (src/interfaces/libpq/fe-cancel.c)

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Fix copy-and-past thinko (src/interfaces/libpq/fe-cancel.c)
Date: 2025-06-17 13:40:27
Message-ID: CAEudQAq4ySDR6dsg9xwurBXwud02hX7XCOZZAcZx-JMn6A06nA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi.

In the function *PQcancelCreate* there is a copy-and-past thinko.
The pointer that must be checked is cancelConn.

Trivial patch attached.

best regards,
Ranier Vilela

Attachment Content-Type Size
fix-copy-and-past-thinko-fe-cancel.patch application/octet-stream 526 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2025-06-17 13:42:08 Re: Fix copy-and-past thinko (src/interfaces/libpq/fe-cancel.c)
Previous Message Xuneng Zhou 2025-06-17 13:38:18 Re: Add progressive backoff to XactLockTableWait functions