Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pEuG3-0004aL-J8 for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Jan 2023 15:40:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pEuG2-0000LY-D7 for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Jan 2023 15:40:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pEuG1-0008QQ-Vj for pgsql-bugs@lists.postgresql.org; Mon, 09 Jan 2023 15:40:17 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pEuFv-0002ds-6s for pgsql-bugs@lists.postgresql.org; Mon, 09 Jan 2023 15:40:17 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 309Fe8SS4109477; Mon, 9 Jan 2023 10:40:08 -0500 From: Tom Lane To: sssnarr1@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17739: postgres ts_headline function is not returning matches it should during full text search In-reply-to: <17739-2f20af14b5644ef9@postgresql.org> References: <17739-2f20af14b5644ef9@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Sun, 08 Jan 2023 16:28:24 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4109475.1673278808.1@sss.pgh.pa.us> Date: Mon, 09 Jan 2023 10:40:08 -0500 Message-ID: <4109476.1673278808@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > In the following 3 full-text search highlighting queries, why do the first > one's results not match the second and third's? I think this is addressed by my pending patch at [1]. Perhaps you'd like to help review/test that? regards, tom lane [1] https://www.postgresql.org/message-id/flat/840.1669405935%40sss.pgh.pa.us