diff options
Diffstat (limited to 'contrib/tsearch2/query.c')
| -rw-r--r-- | contrib/tsearch2/query.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/tsearch2/query.c b/contrib/tsearch2/query.c index 37f60caf1ad..c86169874cb 100644 --- a/contrib/tsearch2/query.c +++ b/contrib/tsearch2/query.c @@ -765,6 +765,11 @@ infix(INFIX * in, bool first) *(in->cur) = '\''; in->cur++; } + else if (t_iseq(op, '\\')) + { + *(in->cur) = '\\'; + in->cur++; + } COPYCHAR(in->cur, op); clen = pg_mblen(op); |
