Re: [PATCH][DOC][MINOR] Fix incorrect lexeme limit in textsearch docs - Mailing list pgsql-hackers

From Aditya Gollamudi
Subject Re: [PATCH][DOC][MINOR] Fix incorrect lexeme limit in textsearch docs
Date
Msg-id CAD-KL_GXFMc-ty9ww94HjdCs-WdbgG2oSLWvnjqztWFBxPq1vA@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH][DOC][MINOR] Fix incorrect lexeme limit in textsearch docs  (surya poondla <suryapoondla4@gmail.com>)
List pgsql-hackers
On Fri, Jan 9, 2026 at 2:01 PM surya poondla <suryapoondla4@gmail.com> wrote:
Hi Dharin,

I looked at your patch, it looks good.

In the code, I couldn’t find any 2^64 bound on the lexeme count, so removing that makes sense.
The added sentence about distinct lexeme count seems to overlap with the existing description of tsvector limits, so I’m not sure it adds much new information.

-Surya Poondla

 +1 on this patch, I was also a bit confused on this part of the documentation. All I could conclude was that the number of lexemes in a tsvector was limited by existing tsvector limits. I agree with Surya's comment about the overlap, I think this patch should only remove the line about the 2^64 bound. Patch applies cleanly!

Adi Gollamudi

pgsql-hackers by date:

Previous
From: Michael Banck
Date:
Subject: Re: Add missing JIT inline pass for llvm>=17
Next
From: jian he
Date:
Subject: heap_create_with_catalog comments