Fix copy/paste mistake in comment
authorAlvaro Herrera <[email protected]>
Thu, 4 Jul 2024 11:57:47 +0000 (13:57 +0200)
committerAlvaro Herrera <[email protected]>
Thu, 4 Jul 2024 11:57:47 +0000 (13:57 +0200)
Backpatch to 17

Author: Yugo NAGATA <[email protected]>
Discussion: https://postgr.es/m/20240704134638.355ad44a445fa1e764a220cd@sranhm.sraoss.co.jp

src/interfaces/libpq/fe-cancel.c

index 9562a7fe44338d9c9175fe87b6efb178624dce93..213a6f43c2d76e4e71346dddff86a86a9b54c70c 100644 (file)
@@ -299,7 +299,8 @@ PQcancelSocket(const PGcancelConn *cancelConn)
 /*
  *     PQcancelErrorMessage
  *
- * Get the socket of the cancel connection.
+ * Returns the error message most recently generated by an operation on the
+ * cancel connection.
  */
 char *
 PQcancelErrorMessage(const PGcancelConn *cancelConn)