Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1etFw9-0004Zh-Vy for pgsql-bugs@arkaria.postgresql.org; Tue, 06 Mar 2018 16:59:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1etFw8-00074b-27 for pgsql-bugs@arkaria.postgresql.org; Tue, 06 Mar 2018 16:59:36 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1etFw7-00074O-P6; Tue, 06 Mar 2018 16:59:35 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1etFw4-000472-M2; Tue, 06 Mar 2018 16:59:34 +0000 Received: from Davids-iMac.local (unknown [173.169.74.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id 161E354683; Tue, 6 Mar 2018 16:59:31 +0000 (UTC) Subject: Re: Fwd: [BUGS] pg_trgm word_similarity inconsistencies or bug To: Teodor Sigaev , Alexander Korotkov Cc: Robert Haas , =?UTF-8?Q?Jan_Przemys=c5=82aw_W=c3=b3jcik?= , Postgres-Bugs , "pgsql-hackers@postgresql.org" , Liudmila Mantrova References: <20171028082225.GA2157@arthur.localdomain> <1510059095836-0.post@n3.nabble.com> <42a3a2a4-59b9-c932-3bdf-e346e7b2e406@sigaev.ru> <708593ed-1104-a0d2-56b7-097adfdcfc16@pgmasters.net> From: David Steele Message-ID: <2c90c840-b858-e513-cf9f-e3a04dcb0216@pgmasters.net> Date: Tue, 6 Mar 2018 11:59:30 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=koi8-r Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/6/18 7:04 AM, Teodor Sigaev wrote: >> I agree with Teodor (upthread, not quoted here) that the documentation >> could use some editing. >> >> I started to do it myself, but quickly realized I have no knowledge of >> the content.š I'm afraid I would destroy the meaning while updating the >> grammar. >> >> Anyone understand the subject matter well enough to review the >> documentation? > > Liudmila tried to improve docs in Alexander's patchset. > > https://www.postgresql.org/message-id/f43b242d-000c-f4c8-cb8b-d37e9752cd93@postgrespro.ru This looks good to me with a few minor exceptions: + word_similarity(text, text) requires further + explanation. Consider the following example: Maybe too verbose? I think "word_similarity(text, text) requires further explanation." can be removed entirely. + string. However, this function does not add paddings to the "add padding" > BTW, adding Liudmila's message to commitfest task > (https://commitfest.postgresql.org/17/1403/) doesn't work Doesn't work for me either. Alexander, can you post the final patches to the thread so they show up in the CF app? Thanks, -- -David david@pgmasters.net