Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vggGH-00HPfu-0Z for pgsql-hackers@arkaria.postgresql.org; Fri, 16 Jan 2026 09:36:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vggFH-002ZHM-0t for pgsql-hackers@arkaria.postgresql.org; Fri, 16 Jan 2026 09:35:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vggFG-002ZHB-2R for pgsql-hackers@lists.postgresql.org; Fri, 16 Jan 2026 09:35:55 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vggFE-000jXE-24 for pgsql-hackers@lists.postgresql.org; Fri, 16 Jan 2026 09:35:54 +0000 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-42fbc305914so1336117f8f.0 for ; Fri, 16 Jan 2026 01:35:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1768556152; cv=none; d=google.com; s=arc-20240605; b=XG09sWVm59WM9p/tX9le2fM9z6AlekaFThb1IxnF3HhzfP5xmzDoxmUK/VtatiSVL2 wycg4Z+t/H0Arkrpt8on20Knx2+x1DdQeMs0vUbjnj9B9SQYS3tIFAel80PzC4faeB53 sL/s/KrN3DrdwzruxFakIaVZ0K0KGpnXOrgmOY3Ix1Z+JKNc5tcQo8Vo7+jgKlVftrxh 28tjnBsBhytGyNss9jrn30U4IVWYTWLWUcPYrBKEOpullgHauzhEwcxP2kHM1tT8mRYt M7RyKeF1l8eelCmObC4Xj1jX6f0lP84tYZRmSTGVdEHxJ9E5e7YrHJw0dXPqOtHP57PD fxzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=mEJ2OZwk6FyjGMCnOnWP3NMrR2XwwbcKCMD9AXV7JNg=; fh=vNHRsosC2x546oBmwvtMy8R+KQ5iy8SJ0f6YoY6L35g=; b=aAQjJheYuu1A5b6IHRxYBUCRAiwk4Z772n3IKLgAwPKqz78vDf+YuGCcUdicGh8lvs WghHt1yBeugwM2/5qDpn1vzCQru0hPa5ARVuMgNzRZf2jUlSX8WGxLXOAF3LsFjahtV2 aJ+IQDoU1J2FcGFYAeFAvIRHgR04Ouf/NQeubW/QeXgZv506AyOfOOJAYik959XNad2Z UNgYpVwRqP7jhPXAvetOC4NFb9AUocw/O0Qf++FyaLYFnAmXmQgpI/la5x3XYQuGjmOa fnwWxsFoakZFCiqdwLVue3FYZj6qhoxbLkdlvQtLPY0n6lu+uipMuGrxnizCoIpfgag8 NT9Q==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768556152; x=1769160952; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mEJ2OZwk6FyjGMCnOnWP3NMrR2XwwbcKCMD9AXV7JNg=; b=awtyq48fjtgWJueOMbcnCSgSxppa4Orn93aKvrDcFK5Sfud1g/NuAtGziLaKEtoLN7 qZ0XKGO+CVJeONOuB1GaTNxffGe/jVks7EMeXS/lq/vQ0tDRp1LxPdBPHvtgxIs1TiKF ugAPWYp1wSUEOSQtmzgulKV3XQSP0PHiFV9DwGWRjD4no7hhwFxmCC4s3zup/W9r9BQc 7VKN3JAnWlVUr++67dt0Gh1kuYAYq0eirqTKk2oP8ptv2DSDdm4g10uOa7er5wgqGAzM PiDWtqQ3jc0cijQM8anVIYIdZh1gTtp8I+6LSHRrUBn8z0BqF4oNUtLeB+nBljZ36r/w RuVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768556152; x=1769160952; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mEJ2OZwk6FyjGMCnOnWP3NMrR2XwwbcKCMD9AXV7JNg=; b=Gm7GNlY1gAOVNTyATSQgQCKE/KQ+ZIYV3vzR38NHdTVKTb1psfSzM9T6byduGv/Gni LetZBzKi1qRyCInS44yWASxBZzllsgzefynsxt2fMz7aHJ/Dp7ST0dk9SDIQTmX7VAyl qNG5SbXHZ0JVjVQ6bhVdZKxhBp/vEUf40zCZelGYOLrb55T1D66T7TmtdsdDtPetW9FH UUsFw8LCP/oqBbXglAlKZ8RJXARqgySvOiRW0nXr2KwPo0FcbMtyMjYgBUXVwcmXpEEj AKUeIngtSLatHraCH2eJR3q12XUHqO0Wffg+pO9I2PmPgn1nGCu5G0waWhcId8+UYi37 uFfA== X-Forwarded-Encrypted: i=1; AJvYcCWUV8mKrNcrtdqiIDUkXV3cHVZB2RzOqwFD6vGXAdIKVSOQ/jr0CaUrbu7yvcjwk8+f2eqFtzePoBVtIJkO@lists.postgresql.org X-Gm-Message-State: AOJu0YxiyvVhiYc333dCo5HEQO787r8SOlDgn9MxD+CMtgCTcD3cudRQ /N02C5NnOlkB3zipA7U5RssPJJPOY/hgX7PFWw6Dnxl9NakJ3KascfHtzxuPrTOC2kEGhtRHkWN KMWLnRPzSTygVz7sgPb7vIM4ib0nOENc= X-Gm-Gg: AY/fxX408V2JvIOfZ5guej/kiVDJd0ibO7hbzSHQp7fDJ62coJCrQGZL9/FkGMjthoP pAGJOg/Dxnqp5BB5dYqE7rO2LoTZ7VrHbkhoWQddGhk15DgXYMYzWHokYk2YmmOko8wSh9sJkkR 6Zet+C7blgPuz+FMxsZLLImntkQM4KLHgfEZedqGNYEz+KmaMecraTz69lx4B7vtLNvHB9j4gZ2 P8m2L/jAPJxQvYdA1un02Nf4ZBSb8DZcieIfAQtkOwin7OnxtqKDTWmzynDIm2ieisWSB4KGiMR SdqDfQZZBMrR8aCvWLINZqsjHLw= X-Received: by 2002:a5d:5847:0:b0:431:327:5dcc with SMTP id ffacd0b85a97d-43569bc5863mr2366476f8f.43.1768556151676; Fri, 16 Jan 2026 01:35:51 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Aditya Gollamudi Date: Fri, 16 Jan 2026 01:35:40 -0800 X-Gm-Features: AZwV_Qjnw5YXVV6nFy8b6uCJkA8R-fmLXOg3ea0aVHKsgtaNNeA9q4Unkx_6eGE Message-ID: Subject: Re: [PATCH][DOC][MINOR] Fix incorrect lexeme limit in textsearch docs To: surya poondla Cc: Dharin Shah , pgsql-hackers@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000002fa1e406487e11b5" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000002fa1e406487e11b5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jan 9, 2026 at 2:01=E2=80=AFPM surya poondla wrote: > Hi Dharin, > > I looked at your patch, it looks good. > > In the code, I couldn=E2=80=99t 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=E2=80=99m 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 --0000000000002fa1e406487e11b5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Jan 9, 2026 at 2:01=E2=80=AFPM su= rya poondla <suryapoondla4@gm= ail.com> wrote:
Hi Dharin,

I looked at your patch, it looks good.

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

-Surya Poondla

=C2=A0+1 on this patch, I was also a bit confuse= d on this part of the documentation. All I could conclude was that the numb= er of lexemes in a tsvector was limited by existing tsvector limits. I agre= e with=C2=A0Surya's comment about=C2=A0the=C2=A0overlap, I think this p= atch should only remove the line about the 2^64 bound. Patch applies cleanl= y!

Adi Gollamudi
--0000000000002fa1e406487e11b5--