After some tests relating to standard_conforming_strings behavior, the
value was not reset to the default value. Therefore, the rest of the
tests in that file ran with the nondefault setting, which affected the
results of some tests. For clarity, reset the value and run the rest
of the tests with the default setting again.
a\bcd | a\b'cd | a\b''cd | abcd\ | ab\'cd | \\
(1 row)
+reset standard_conforming_strings;
--
-- Additional string functions
--
SELECT bit_count('\x1234567890'::bytea);
bit_count
-----------
- 31
+ 15
(1 row)
select 'a\\bcd' as f1, 'a\\b\'cd' as f2, 'a\\b\'''cd' as f3, 'abcd\\' as f4, 'ab\\\'cd' as f5, '\\\\' as f6;
+reset standard_conforming_strings;
+
--
-- Additional string functions