mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Back out \' change for tsearch2, broke regression tests.
This commit is contained in:
parent
e720382441
commit
3a3622c5f0
2 changed files with 2 additions and 2 deletions
|
|
@ -723,7 +723,7 @@ infix(INFIX * in, bool first)
|
|||
{
|
||||
if (*op == '\'')
|
||||
{
|
||||
*(in->cur) = '\'';
|
||||
*(in->cur) = '\\';
|
||||
in->cur++;
|
||||
}
|
||||
*(in->cur) = *op;
|
||||
|
|
|
|||
|
|
@ -526,7 +526,7 @@ tsvector_out(PG_FUNCTION_ARGS)
|
|||
|
||||
outbuf = (char *) repalloc((void *) outbuf, ++lenbuf);
|
||||
curout = outbuf + pos;
|
||||
*curout++ = '\'';
|
||||
*curout++ = '\\';
|
||||
}
|
||||
*curout++ = *curin++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue