summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorAlvaro Herrera2024-07-04 11:57:47 +0000
committerAlvaro Herrera2024-07-04 11:57:47 +0000
commite72f841cbec12b60dbfcde6e4aaeec8ecab987c4 (patch)
tree12d85301a69347d4475e0db3ef796a59a9017fa4 /src/interfaces
parent3a9d0d774d90c41bd60a8fb85685092d3e0bc30f (diff)
Fix copy/paste mistake in comment
Backpatch to 17 Author: Yugo NAGATA <nagata@sraoss.co.jp> Discussion: https://postgr.es/m/20240704134638.355ad44a445fa1e764a220cd@sranhm.sraoss.co.jp
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/libpq/fe-cancel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-cancel.c b/src/interfaces/libpq/fe-cancel.c
index 9562a7fe443..213a6f43c2d 100644
--- a/src/interfaces/libpq/fe-cancel.c
+++ b/src/interfaces/libpq/fe-cancel.c
@@ -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)