diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-20 21:06:20 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-20 21:06:20 +0000 |
commit | 531ead8ab46732dbf8416f09e9b276b4dc1a522f (patch) | |
tree | 35d0f1713d266126db91f181ae2d371779e6a608 /src | |
parent | 24f3a77112e0e820dfd6e6a9a1a7a33d93faa01b (diff) | |
download | postgresql-531ead8ab46732dbf8416f09e9b276b4dc1a522f.tar.gz postgresql-531ead8ab46732dbf8416f09e9b276b4dc1a522f.zip |
Adjust error message to agree with documentation. The tsearch documentation
uniformly calls these things weights, not classes.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/adt/tsginidx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/tsginidx.c b/src/backend/utils/adt/tsginidx.c index ba4a10313cb..075c921d405 100644 --- a/src/backend/utils/adt/tsginidx.c +++ b/src/backend/utils/adt/tsginidx.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/tsginidx.c,v 1.4 2007/09/11 08:46:29 teodor Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/tsginidx.c,v 1.5 2007/10/20 21:06:20 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -97,7 +97,7 @@ gin_extract_query(PG_FUNCTION_ARGS) if (strategy != TSearchWithClassStrategyNumber && val->weight != 0) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("@@ operator does not support lexeme class restrictions"), + errmsg("@@ operator does not support lexeme weight restrictions in GIN index searches"), errhint("Use the @@@ operator instead."))); } } |