Skip to content
Snippets Groups Projects
Commit 19892feb authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Back out \' change for tsearch2, broke regression tests.

parent 7d866ffa
No related branches found
No related tags found
No related merge requests found
......@@ -748,7 +748,7 @@ infix(INFIX * in, bool first)
{
if ( t_iseq(op, '\'') )
{
*(in->cur) = '\'';
*(in->cur) = '\\';
in->cur++;
}
COPYCHAR(in->cur,op);
......
......@@ -529,7 +529,7 @@ tsvector_out(PG_FUNCTION_ARGS)
outbuf = (char *) repalloc((void *) outbuf, ++lenbuf);
curout = outbuf + pos;
*curout++ = '\'';
*curout++ = '\\';
}
while(len--)
*curout++ = *curin++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment