Fix two-argument form of ts_rewrite() so it actually works for cases where
Tom Lane <tgl@sss.pgh.pa.us>
Fix two-argument form of ts_rewrite() so it actually works for cases where a later rewrite rule should change a subtree modified by an earlier one. Per my gripe of a few days ago.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/tsquery_rewrite.c | modified | +8 −1 |
| src/backend/utils/adt/tsquery_util.c | modified | +18 −1 |
| src/include/tsearch/ts_utils.h | modified | +3 −1 |
| src/test/regress/expected/tsearch.out | modified | +1 −1 |