From 0e48eda155f5e80b28c06e2a27c7efb884a6ccee Mon Sep 17 00:00:00 2001 From: Dharin Shah <8616130+Dharin-shah@users.noreply.github.com> Date: Sat, 27 Dec 2025 17:10:38 +0100 Subject: [PATCH] docs: Fix incorrect tsvector lexeme limit in textsearch.sgml The documentation incorrectly stated that the number of lexemes must be less than 2^64. The actual constraint is the 1 MB storage limit for the total tsvector data. This clarifies that the limit applies to distinct lexemes in a single tsvector value. --- doc/src/sgml/textsearch.sgml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/textsearch.sgml b/doc/src/sgml/textsearch.sgml index d20484cb232..762f7024664 100644 --- a/doc/src/sgml/textsearch.sgml +++ b/doc/src/sgml/textsearch.sgml @@ -3998,9 +3998,8 @@ Parser: "pg_catalog.default" less than 1 megabyte - - The number of lexemes must be less than - 264 + The number of distinct lexemes in a single tsvector + value is constrained by the 1 megabyte total storage limit (see above) Position values in tsvector must be greater than 0 and -- 2.39.3 (Apple Git-146)