aboutsummaryrefslogtreecommitdiff
path: root/contrib/tsearch2/tsvector.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-05-19 04:39:47 +0000
committerBruce Momjian <bruce@momjian.us>2006-05-19 04:39:47 +0000
commit19892feb3c86eda36769f19b8ad868cf40d9a10f (patch)
treef016e5a14c7990d9881613a0082ca2ce46acc8bb /contrib/tsearch2/tsvector.c
parent7d866ffad703ebf50b4e8ec55ed54d1892ab89b3 (diff)
downloadpostgresql-19892feb3c86eda36769f19b8ad868cf40d9a10f.tar.gz
postgresql-19892feb3c86eda36769f19b8ad868cf40d9a10f.zip
Back out \' change for tsearch2, broke regression tests.
Diffstat (limited to 'contrib/tsearch2/tsvector.c')
-rw-r--r--contrib/tsearch2/tsvector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tsearch2/tsvector.c b/contrib/tsearch2/tsvector.c
index d274f01256e..0f369bdcb7e 100644
--- a/contrib/tsearch2/tsvector.c
+++ b/contrib/tsearch2/tsvector.c
@@ -529,7 +529,7 @@ tsvector_out(PG_FUNCTION_ARGS)
outbuf = (char *) repalloc((void *) outbuf, ++lenbuf);
curout = outbuf + pos;
- *curout++ = '\'';
+ *curout++ = '\\';
}
while(len--)
*curout++ = *curin++;