postgres.git / summary / log / commit / refs
commit fcf4c0ae1db8594cf3d3e84d2564616497eecd5a
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: Thu Jul 29 19:39:40 2021 +0000
docs: Fix bit_count example output
The returnvalue for the bit_count(::bytea) example was assuming a
non-default value of standard_conforming_strings. This was fixed
in the tests in commit ebedd0c78.
Author: wangzk.fnstxz@fujitsu.com
Discussion: https://postgr.es/m/OSZPR01MB6551FFAC1088C82C3D799BE0FAEB9@OSZPR01MB6551.jpnprd01.prod.outlook.com
Backpatch-through: 14
doc/src/sgml/func.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index c12d03e5832..d83f39f7cd0 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -4085,7 +4085,7 @@ SELECT format('Testing %3$s, %2$s, %s', 'one', 'two', 'three');
</para>
<para>
<literal>bit_count('\x1234567890'::bytea)</literal>
- <returnvalue>31</returnvalue>
+ <returnvalue>15</returnvalue>
</para></entry>
</row>
[parent: 514b4c11d247]