mirror of
https://github.com/postgres/postgres.git
synced 2025-05-06 19:59:18 +03:00
Back out \' change for tsearch2, broke regression tests.
This commit is contained in:
parent
e720382441
commit
3a3622c5f0
@ -723,7 +723,7 @@ infix(INFIX * in, bool first)
|
|||||||
{
|
{
|
||||||
if (*op == '\'')
|
if (*op == '\'')
|
||||||
{
|
{
|
||||||
*(in->cur) = '\'';
|
*(in->cur) = '\\';
|
||||||
in->cur++;
|
in->cur++;
|
||||||
}
|
}
|
||||||
*(in->cur) = *op;
|
*(in->cur) = *op;
|
||||||
|
@ -526,7 +526,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++ = '\\';
|
||||||
}
|
}
|
||||||
*curout++ = *curin++;
|
*curout++ = *curin++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user