Doc: Fixed the result of the bit_count example - Mailing list pgsql-hackers

From wangzk.fnstxz@fujitsu.com
Subject Doc: Fixed the result of the bit_count example
Date
Msg-id OSZPR01MB6551FFAC1088C82C3D799BE0FAEB9@OSZPR01MB6551.jpnprd01.prod.outlook.com
Whole thread Raw
Responses Re: Doc: Fixed the result of the bit_count example  (Daniel Gustafsson <daniel@yesql.se>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ECPG bug fix: DECALRE STATEMENT and DEALLOCATE, DESCRIBE
Next
From: Daniel Gustafsson
Date:
Subject: Re: Doc: Fixed the result of the bit_count example