Back out \' change for tsearch2, broke regression tests.
This commit is contained in:
parent
7d866ffad7
commit
19892feb3c
@ -748,7 +748,7 @@ infix(INFIX * in, bool first)
|
|||||||
{
|
{
|
||||||
if ( t_iseq(op, '\'') )
|
if ( t_iseq(op, '\'') )
|
||||||
{
|
{
|
||||||
*(in->cur) = '\'';
|
*(in->cur) = '\\';
|
||||||
in->cur++;
|
in->cur++;
|
||||||
}
|
}
|
||||||
COPYCHAR(in->cur,op);
|
COPYCHAR(in->cur,op);
|
||||||
|
@ -529,7 +529,7 @@ tsvector_out(PG_FUNCTION_ARGS)
|
|||||||
|
|
||||||
outbuf = (char *) repalloc((void *) outbuf, ++lenbuf);
|
outbuf = (char *) repalloc((void *) outbuf, ++lenbuf);
|
||||||
curout = outbuf + pos;
|
curout = outbuf + pos;
|
||||||
*curout++ = '\'';
|
*curout++ = '\\';
|
||||||
}
|
}
|
||||||
while(len--)
|
while(len--)
|
||||||
*curout++ = *curin++;
|
*curout++ = *curin++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user