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 1eycyK-0007Nt-Qk for pgsql-bugs@arkaria.postgresql.org; Wed, 21 Mar 2018 12:36:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eycyJ-0003MN-F8 for pgsql-bugs@arkaria.postgresql.org; Wed, 21 Mar 2018 12:36:03 +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 1eycyJ-0003MA-5f; Wed, 21 Mar 2018 12:36:03 +0000 Received: from hook.sigaev.ru ([93.180.27.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eycyF-00047i-JZ; Wed, 21 Mar 2018 12:36:01 +0000 Received: from xor.sai.msu.ru (unknown [93.174.131.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: teodor) by hook.sigaev.ru (Postfix) with ESMTPSA id 22985B19192; Wed, 21 Mar 2018 15:35:57 +0300 (MSK) Subject: Re: Fwd: [BUGS] pg_trgm word_similarity inconsistencies or bug To: David Steele , 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> <2c90c840-b858-e513-cf9f-e3a04dcb0216@pgmasters.net> From: Teodor Sigaev Message-ID: Date: Wed, 21 Mar 2018 15:35:56 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 MIME-Version: 1.0 In-Reply-To: <2c90c840-b858-e513-cf9f-e3a04dcb0216@pgmasters.net> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thank you, pushed David Steele wrote: > 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, > -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/