Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WuZSE-0000Wr-Ma for pgsql-bugs@arkaria.postgresql.org; Wed, 11 Jun 2014 03:44:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WuZSE-0002PG-2L for pgsql-bugs@arkaria.postgresql.org; Wed, 11 Jun 2014 03:44:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WuZSD-0002P9-FJ for pgsql-bugs@postgresql.org; Wed, 11 Jun 2014 03:44:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WuZSA-00028E-03 for pgsql-bugs@postgresql.org; Wed, 11 Jun 2014 03:44:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s5B3hlTK006840; Tue, 10 Jun 2014 23:43:47 -0400 From: Tom Lane To: Alvaro Herrera cc: Gavin Flower , Kevin Grittner , "zsoros@gmail.com" , "pgsql-bugs@postgresql.org" Subject: Re: BUG #10589: hungarian.stop file spelling error In-reply-to: <20140611033015.GG18688@eldon.alvh.no-ip.org> References: <20140610081936.2599.96998@wrigleys.postgresql.org> <1402424951.18051.YahooMailNeo@web122305.mail.ne1.yahoo.com> <4576.1402431720@sss.pgh.pa.us> <5337.1402434505@sss.pgh.pa.us> <6135.1402456162@sss.pgh.pa.us> <5397CBD7.2070606@archidevsys.co.nz> <20140611033015.GG18688@eldon.alvh.no-ip.org> Comments: In-reply-to Alvaro Herrera message dated "Tue, 10 Jun 2014 23:30:15 -0400" Date: Tue, 10 Jun 2014 23:43:47 -0400 Message-ID: <6839.1402458227@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Alvaro Herrera writes: > Gavin Flower wrote: >> Not saying there is any problem, but you might like to check how the >> EUR currency symbol is handled (it is in LATIN2, but not in LATIN1): > Latin1 doesn't have euro, which is why Latin9 (iso-8859-15) was invented > IIUC. Yeah, I doubt there's much to be learned from the euro-sign case. The Snowball stemmers certainly don't care about euro --- they only work with alphabetic characters. Actually, an interesting point is that we could probably use one of the single-byte-encoding LATIN1 stemmers when the database encoding is LATIN9, and thereby save a translation to UTF8 and back, since the stemmer logic isn't going to care about euro signs. Likewise for LATIN2 vs LATIN10. Not sure it's worth the trouble though. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs