On Thu, 4 Jul 2024 11:06:03 +0200
Jelte Fennema-Nio <postg...@jeltef.nl> wrote:

> On Thu, 4 Jul 2024 at 06:46, Yugo NAGATA <nag...@sraoss.co.jp> wrote:
> > Attached is a small patch to fix a comment on PQcancelErrorMessage.
> 
> Oops, copy paste mistake on my part I guess. New comment LGTM

Thank you for your comments.

I made a trivial change that fixes the line break position in keeping with
the surrounding comments.

Regards,
Yugo Nagata


-- 
Yugo NAGATA <nag...@sraoss.co.jp>
diff --git a/src/interfaces/libpq/fe-cancel.c b/src/interfaces/libpq/fe-cancel.c
index 9562a7fe44..213a6f43c2 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)

Reply via email to