summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/expected
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-09-02 22:03:30 +0000
committerBruce Momjian <bruce@momjian.us>2006-09-02 22:03:30 +0000
commit0c4f2894f96856e353cb0d5f51478c3aff6eef53 (patch)
treed220490349665ded658347bc228b82adfb294b82 /contrib/tsearch2/expected
parent4b636e35a51432743caf6a0c5250f312df95e3e3 (diff)
downloadpostgresql-0c4f2894f96856e353cb0d5f51478c3aff6eef53.tar.gz
Use '' rather than \' for literal single quotes in strings in
/contrib/tsearch2. Teodor Sigaev
Diffstat (limited to 'contrib/tsearch2/expected')
-rw-r--r--contrib/tsearch2/expected/tsearch2.out12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/tsearch2/expected/tsearch2.out b/contrib/tsearch2/expected/tsearch2.out
index 2c1bbdb338..738ac52cd6 100644
--- a/contrib/tsearch2/expected/tsearch2.out
+++ b/contrib/tsearch2/expected/tsearch2.out
@@ -59,25 +59,25 @@ SELECT '''1 2'''::tsvector;
SELECT E'''1 \\''2'''::tsvector;
tsvector
----------
- '1 \'2'
+ '1 ''2'
(1 row)
SELECT E'''1 \\''2''3'::tsvector;
tsvector
-------------
- '3' '1 \'2'
+ '3' '1 ''2'
(1 row)
SELECT E'''1 \\''2'' 3'::tsvector;
tsvector
-------------
- '3' '1 \'2'
+ '3' '1 ''2'
(1 row)
SELECT E'''1 \\''2'' '' 3'' 4 '::tsvector;
tsvector
------------------
- '4' ' 3' '1 \'2'
+ '4' ' 3' '1 ''2'
(1 row)
select '''w'':4A,3B,2C,1D,5 a:8';
@@ -138,7 +138,7 @@ SELECT '''1 2'''::tsquery;
SELECT E'''1 \\''2'''::tsquery;
tsquery
---------
- '1 \'2'
+ '1 ''2'
(1 row)
SELECT '!1'::tsquery;
@@ -336,7 +336,7 @@ SELECT '1&(2&(4&(5|!6)))'::tsquery;
SELECT E'1&(''2''&('' 4''&(\\|5 | ''6 \\'' !|&'')))'::tsquery;
tsquery
------------------------------------------
- '1' & '2' & ' 4' & ( '|5' | '6 \' !|&' )
+ '1' & '2' & ' 4' & ( '|5' | '6 '' !|&' )
(1 row)
SELECT '''the wether'':dc & '' sKies '':BC & a:d b:a';