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

Commit531ead8

Browse files
committed
Adjust error message to agree with documentation. The tsearch documentation
uniformly calls these things weights, not classes.
1 parent24f3a77 commit531ead8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/adt/tsginidx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/backend/utils/adt/tsginidx.c,v 1.4 2007/09/11 08:46:29 teodor Exp $
10+
* $PostgreSQL: pgsql/src/backend/utils/adt/tsginidx.c,v 1.5 2007/10/20 21:06:20 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -97,7 +97,7 @@ gin_extract_query(PG_FUNCTION_ARGS)
9797
if (strategy!=TSearchWithClassStrategyNumber&&val->weight!=0)
9898
ereport(ERROR,
9999
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
100-
errmsg("@@ operator does not support lexemeclass restrictions"),
100+
errmsg("@@ operator does not support lexemeweight restrictions in GIN index searches"),
101101
errhint("Use the @@@ operator instead.")));
102102
}
103103
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp