Re: psql completion for ids in multibyte string
| От | Robert Haas |
|---|---|
| Тема | Re: psql completion for ids in multibyte string |
| Дата | |
| Msg-id | CA+TgmoY0oOCJFURtjv4QkuEsSVLTJDG+rgmX=APRVf++oUwQSw@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: psql completion for ids in multibyte string (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>) |
| Ответы |
Re: psql completion for ids in multibyte string
|
| Список | pgsql-hackers |
On Wed, Mar 2, 2016 at 8:07 PM, Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp> wrote: > Hello, thank you for the comments. >> I think we should leave string_length as it is and use a new variable >> for character-based length, as in the attached. > > Basically agreed but I like byte_length for the previous > string_length and string_length for string_length_cars. Also > text_length is renamed in the attached patch. I committed this and back-patched this but (1) I avoided changing the other functions for now and (2) I gave both the byte length and the character length new names to avoid confusion. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: