projects
/
users
/
heikki
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aec64e8
)
Fix incorrect comment.
author
Robert Haas
<rhaas@postgresql.org>
Tue, 1 Mar 2016 18:31:44 +0000
(13:31 -0500)
committer
Robert Haas
<rhaas@postgresql.org>
Tue, 1 Mar 2016 18:31:44 +0000
(13:31 -0500)
PQmblen and PQdsplen return information about characters, not words.
Kyotaro Horiguchi
src/interfaces/libpq/fe-misc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/fe-misc.c
b/src/interfaces/libpq/fe-misc.c
index 9be05a0ddb0aa8c022ae7de5a0a699458e898910..30cee7f053cec281d1c7740fe920f44367851eef 100644
(file)
--- 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