1
0
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:
Bruce Momjian 2006-05-19 04:41:06 +00:00
parent e720382441
commit 3a3622c5f0
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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++;
} }