From 212bba93ce52e5605f8b7fc1ede2e7aef797c372 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Tue, 1 Mar 2016 13:31:44 -0500 Subject: [PATCH] Fix incorrect comment. PQmblen and PQdsplen return information about characters, not words. Kyotaro Horiguchi --- src/interfaces/libpq/fe-misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/libpq/fe-misc.c b/src/interfaces/libpq/fe-misc.c index 9be05a0ddb..30cee7f053 100644 --- a/src/interfaces/libpq/fe-misc.c +++ b/src/interfaces/libpq/fe-misc.c @@ -1180,7 +1180,7 @@ pqSocketPoll(int sock, int forRead, int forWrite, time_t end_time) */ /* - * returns the byte length of the word beginning s, using the + * returns the byte length of the character beginning at s, using the * specified encoding. */ int @@ -1190,7 +1190,7 @@ PQmblen(const char *s, int encoding) } /* - * returns the display length of the word beginning s, using the + * returns the display length of the character beginning at s, using the * specified encoding. */ int -- 2.40.0