pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: isayko.alexey@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14563: count(*) gives a wrong result in PostgreSQL for some regex with pg_trm/GIN index
Date: Wed, 22 Feb 2017 10:16:54 -0500
Message-ID: <32281.1487776614@sss.pgh.pa.us> (raw)
In-Reply-To: <20170222111446.1256.67547@wrigleys.postgresql.org>
References: <20170222111446.1256.67547@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

isayko.alexey@gmail.com writes:
> When using some RE to filter rows on gin-indexed column with pg_trm,
> count(*) could give a wrong result (zero instead of real count):

Duplicated that here, will look into it.  Thanks for the report!

			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



view thread (2+ messages)

Message-ID: <32281.1487776614@sss.pgh.pa.us>
Permalink:  ../32281.1487776614@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/32281.1487776614@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, isayko.alexey@gmail.com
  Subject: Re: BUG #14563: count(*) gives a wrong result in PostgreSQL for some regex with pg_trm/GIN index
  In-Reply-To: <32281.1487776614@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox