diff options
author | Teodor Sigaev <teodor@sigaev.ru> | 2007-09-11 16:01:40 +0000 |
---|---|---|
committer | Teodor Sigaev <teodor@sigaev.ru> | 2007-09-11 16:01:40 +0000 |
commit | 476045a21be82bf2437af8e41496a11e2ab4b9a9 (patch) | |
tree | 87fe64b09184d12a105cd655a305805b63b5cf00 /src/backend/utils/adt/tsquery.c | |
parent | 13553cbbff8670decab9cfed691bde7ed8a8b5b4 (diff) | |
download | postgresql-476045a21be82bf2437af8e41496a11e2ab4b9a9.tar.gz postgresql-476045a21be82bf2437af8e41496a11e2ab4b9a9.zip |
Remove QueryOperand->istrue flag, it was used only in cover ranking
(ts_rank_cd). Use palloc'ed array in ranking instead of flag.
Diffstat (limited to 'src/backend/utils/adt/tsquery.c')
-rw-r--r-- | src/backend/utils/adt/tsquery.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/utils/adt/tsquery.c b/src/backend/utils/adt/tsquery.c index 521ccf94c85..7fd018915cd 100644 --- a/src/backend/utils/adt/tsquery.c +++ b/src/backend/utils/adt/tsquery.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/tsquery.c,v 1.6 2007/09/10 12:36:40 teodor Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/tsquery.c,v 1.7 2007/09/11 16:01:40 teodor Exp $ * *------------------------------------------------------------------------- */ @@ -784,8 +784,6 @@ tsquerysend(PG_FUNCTION_ARGS) case QI_VAL: pq_sendint(&buf, item->operand.weight, sizeof(uint8)); pq_sendstring(&buf, GETOPERAND(query) + item->operand.distance); - /* istrue flag is just for temporary use in tsrank.c/Cover, - * so we don't need to transfer that */ break; case QI_OPR: pq_sendint(&buf, item->operator.oper, sizeof(item->operator.oper)); |