Fixing wrong comment on PQmblen and PQdsplen.
От | Kyotaro HORIGUCHI |
---|---|
Тема | Fixing wrong comment on PQmblen and PQdsplen. |
Дата | |
Msg-id | 20160226.143341.231198019.horiguchi.kyotaro@lab.ntt.co.jp обсуждение исходный текст |
Ответ на | Re: psql completion for ids in multibyte string (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>) |
Ответы |
Re: Fixing wrong comment on PQmblen and PQdsplen.
|
Список | pgsql-hackers |
Hello, I divided the last patch into one typo-fix patch and one improvement patch. This is the former one. At Fri, 06 Nov 2015 11:47:17 +0900 (Tokyo Standard Time), Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp> wrote in <20151106.114717.170526268.horiguchi.kyotaro@lab.ntt.co.jp> > > Just a minor nitpick - > > > > ... character beginning *at* s ...? > > > > If so, there would be one more instance to fix. > > I think so. I overlooked both of them. And as you mention, > PQdsplen has the same kind of typo. It returns display length of > the *character* beginning *at* s, too. This patch fixes wrong comments of PQmblen() and PQdsplen(). The comments say that "returns the length of the word beginning s" but what it actually does is "returns the length of the *character* beginning at s". regards, regards, -- Kyotaro Horiguchi NTT Open Source Software Center
В списке pgsql-hackers по дате отправления: