Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit19892fe

Browse files
committed
Back out \' change for tsearch2, broke regression tests.
1 parent7d866ff commit19892fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎contrib/tsearch2/query.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ infix(INFIX * in, bool first)
748748
{
749749
if (t_iseq(op,'\'') )
750750
{
751-
*(in->cur)='\'';
751+
*(in->cur)='\\';
752752
in->cur++;
753753
}
754754
COPYCHAR(in->cur,op);

‎contrib/tsearch2/tsvector.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ tsvector_out(PG_FUNCTION_ARGS)
529529

530530
outbuf= (char*)repalloc((void*)outbuf,++lenbuf);
531531
curout=outbuf+pos;
532-
*curout++='\'';
532+
*curout++='\\';
533533
}
534534
while(len--)
535535
*curout++=*curin++;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp