Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitebedd0c

Browse files
committed
Reset standard_conforming_strings in strings test
After some tests relating to standard_conforming_strings behavior, thevalue was not reset to the default value. Therefore, the rest of thetests in that file ran with the nondefault setting, which affected theresults of some tests. For clarity, reset the value and run the restof the tests with the default setting again.
1 parent30aaab2 commitebedd0c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

‎src/test/regress/expected/strings.out

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2027,6 +2027,7 @@ select 'a\\bcd' as f1, 'a\\b\'cd' as f2, 'a\\b\'''cd' as f3, 'abcd\\' as f4, '
20272027
a\bcd | a\b'cd | a\b''cd | abcd\ | ab\'cd | \\
20282028
(1 row)
20292029

2030+
reset standard_conforming_strings;
20302031
--
20312032
-- Additional string functions
20322033
--
@@ -2230,6 +2231,6 @@ SELECT encode(overlay(E'Th\\000omas'::bytea placing E'\\002\\003'::bytea from 5
22302231
SELECT bit_count('\x1234567890'::bytea);
22312232
bit_count
22322233
-----------
2233-
31
2234+
15
22342235
(1 row)
22352236

‎src/test/regress/sql/strings.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,8 @@ set standard_conforming_strings = off;
693693
694694
select'a\\bcd' as f1,'a\\b\'cd'as f2,'a\\b\'''cd'as f3,'abcd\\'as f4,'ab\\\'cd'as f5,'\\\\'as f6;
695695

696+
reset standard_conforming_strings;
697+
696698

697699
--
698700
-- Additional string functions

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp