pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: RJ Ewing <rj@rjewing.com>
To: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
To: Sergei Kornilov <sk@zsrv.org>
Subject: Re: BUG #15861: jsonb exists query retuning inconsistent results
Date: Thu, 20 Jun 2019 06:48:17 -0700
Message-ID: <d4db87a2-862c-4bb1-a6b1-211d52c77008@Spark> (raw)
In-Reply-To: <7307481561013811@sas2-c434f6e124b6.qloud-c.yandex.net>
References: <15861-fed7a8c85fffa2d7@postgresql.org>
	<7307481561013811@sas2-c434f6e124b6.qloud-c.yandex.net>

Ya, that is most likely the issue. I have the gin_fuzzy_search_limit set to 15k.

Is there a way around this? Having a search limit of 15k seems reasonable to me when doing a FTS, however I would not want that limit when doing an exists query. Any way to tell the planner to not use the index? Or other alternative?

Thanks

RJ Ewing
On Jun 19, 2019, 11:56 PM -0700, Sergei Kornilov <sk@zsrv.org>, wrote:
> Hello
>
> Please check your gin_fuzzy_search_limit setting: https://www.postgresql.org/docs/current/gin-tips.html
> Seems this setting is in effect.
>
> regards, Sergei

view thread (4+ messages)  latest in thread

Message-ID: <d4db87a2-862c-4bb1-a6b1-211d52c77008@Spark>
Permalink:  ../d4db87a2-862c-4bb1-a6b1-211d52c77008@Spark/
Also on:    postgresql.org/message-id/d4db87a2-862c-4bb1-a6b1-211d52c77008@Spark

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: rj@rjewing.com, sk@zsrv.org
  Subject: Re: BUG #15861: jsonb exists query retuning inconsistent results
  In-Reply-To: <d4db87a2-862c-4bb1-a6b1-211d52c77008@Spark>
  References: <15861-fed7a8c85fffa2d7@postgresql.org> <7307481561013811@sas2-c434f6e124b6.qloud-c.yandex.net> <d4db87a2-862c-4bb1-a6b1-211d52c77008@Spark>

* 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