Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aW5Mf-0007vw-OV for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Feb 2016 16:54:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aW5Mf-0006bj-BF for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Feb 2016 16:54:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aVx2p-0007Re-3K for pgsql-bugs@postgresql.org; Wed, 17 Feb 2016 08:01:07 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aVx2l-0003qU-RZ for pgsql-bugs@postgresql.org; Wed, 17 Feb 2016 08:01:06 +0000 MIME-Version: 1.0 Subject: BUG #13964: unexpected result from to_tsvector To: pgsql-bugs@postgresql.org From: ruxandra.durus@vauban.ro Date: Wed, 17 Feb 2016 08:00:48 +0000 Message-ID: <20160217080048.26357.49416@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.1 (-) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" 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 The following bug has been logged on the website: Bug reference: 13964 Logged by: Ruxandra Email address: ruxandra.durus@vauban.ro PostgreSQL version: 9.5.1 Operating system: Cent OS 6.7 Description: Hello, My version of PostgreSQL is: "PostgreSQL 9.5beta1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16), 64-bit" More details about the operating system: Linux javatesting 2.6.32-573.7.1.el6.x86_64 #1 SMP Tue Sep 22 22:00:00 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux I am using pgAdmin version 1.20.0 to query the database. I am using your full text search (which works great), but i have a small problem: SELECT to_tsvector('simple', 'test@vauban-reg.ro'); returns "'test@vauban-reg.ro':1" which is exactly what I need. But when I run : SELECT to_tsvector('simple', 'test@123-reg.ro'); I get: "'123':2 'reg.ro':3 'test':1" instead of "'test@123-reg.ro':1" From the documentation here http://www.postgresql.org/docs/current/static/pgtrgm.html , point F.30.4. I understood that with "simple" option only space is a separator for the stems. Is it a bug or am I doing something wrong? Thank you for your time, Ruxandra Durus -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs