BUG #18208: ts_headline MinWords and MaxWords cannot be set to the same value - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #18208: ts_headline MinWords and MaxWords cannot be set to the same value
Date
Msg-id 18208-c695b6b402c37727@postgresql.org
Whole thread Raw
Responses Re: BUG #18208: ts_headline MinWords and MaxWords cannot be set to the same value  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      18208
Logged by:          Oli
Email address:      oliverfwales@gmail.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?


pgsql-bugs by date:

Previous
From: Amit Kapila
Date:
Subject: Re: BUG #18203: Logical Replication initial sync failure
Next
From: Filip Sedlák
Date:
Subject: B-tree Index corruption