BUG #18208: ts_headline MinWords and MaxWords cannot be set to the same value

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: oliverfwales(at)gmail(dot)com
Subject: BUG #18208: ts_headline MinWords and MaxWords cannot be set to the same value
Date: 2023-11-20 14:04:26
Message-ID: 18208-c695b6b402c37727@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18208
Logged by: Oli
Email address: oliverfwales(at)gmail(dot)com
PostgreSQL version: 12.16
Operating system: aarch64-unknown-linux-gnu
Description:

Setting MaxWords and MinWords to the same value (e.g. 30) in the options of
ts_headline throws the error "MinWords should be less than MaxWords". Is
there any reason why they must be different? Why not allow setting them to
the same value to allow a fixed number of words to be returned?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Filip Sedlák 2023-11-20 15:08:39 B-tree Index corruption
Previous Message Amit Kapila 2023-11-20 13:08:34 Re: BUG #18203: Logical Replication initial sync failure