Doc: Fixed the result of the bit_count example

Поиск
Список
Период
Сортировка
От wangzk.fnstxz@fujitsu.com
Тема Doc: Fixed the result of the bit_count example
Дата
Msg-id OSZPR01MB6551FFAC1088C82C3D799BE0FAEB9@OSZPR01MB6551.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответы Re: Doc: Fixed the result of the bit_count example
Список pgsql-hackers

Hello:

There is a small problem with the documentation for the previously added SQL function
bit_count.

In the doc, (https://www.postgresql.org/docs/14/functions-binarystring.html)

bit_count('\x1234567890'::bytea) result is "31" , but the actual result is "15".


Similar problems have been fixed in test file (commit: ebedd0c78fc51c293abe56e99a18c67af14da0c9),  but the doc has not been modified.

Regards,

Wang

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: ECPG bug fix: DECALRE STATEMENT and DEALLOCATE, DESCRIBE
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Doc: Fixed the result of the bit_count example