pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: olaf.gw@googlemail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #12694: crash if the number of result rows is lower than gin_fuzzy_search_limit
Date: Wed, 28 Jan 2015 18:12:43 +0000
Message-ID: <20150128181243.2579.80775@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      12694
Logged by:          Olaf Gawenda
Email address:      olaf.gw@googlemail.com
PostgreSQL version: 9.4.0
Operating system:   Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7
Description:        

the following sequence of commands get a crash if the numer of result rows
is lower than gin_fuzzy_search_limit:

create table test (t text, ts_vec tsvector);

insert into test (t) values (),(),(), ...; -- test data not posted

update test set ts_vec = to_tsvector('english', t);

create index on test using gin(ts_vec);
analyze test;
set enable_seqscan = off;
set gin_fuzzy_search_limit = 1000;

select t from test where ts_vec @@ to_tsquery('english', '...');


-- 
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 (10+ messages)  latest in thread

Message-ID: <20150128181243.2579.80775@wrigleys.postgresql.org>
Permalink:  ../20150128181243.2579.80775@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20150128181243.2579.80775@wrigleys.postgresql.org

 · 

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: olaf.gw@googlemail.com
  Subject: Re: BUG #12694: crash if the number of result rows is lower than gin_fuzzy_search_limit
  In-Reply-To: <20150128181243.2579.80775@wrigleys.postgresql.org>
  References: <20150128181243.2579.80775@wrigleys.postgresql.org>

* 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