aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2024-07-04 13:57:47 +0200
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2024-07-04 13:57:47 +0200
commit2ef575c7803a55101352c0f6cb8f745af063a66c (patch)
tree8e1a1b9d03104cfbe6d6e5b4cc931bdbd9ae4a02
parent768f0c3e21b31f92ebb510a7e4d0c2cd1c1ecb97 (diff)
downloadpostgresql-2ef575c7803a55101352c0f6cb8f745af063a66c.tar.gz
postgresql-2ef575c7803a55101352c0f6cb8f745af063a66c.zip
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
-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)