From fcf4c0ae1db8594cf3d3e84d2564616497eecd5a Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Thu, 29 Jul 2021 21:39:40 +0200 Subject: [PATCH] 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 c12d03e583..d83f39f7cd 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'); bit_count('\x1234567890'::bytea) - 31 + 15