mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +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 == '\'')
|
||||
{
|
||||
*(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…
x
Reference in New Issue
Block a user