Regression - Query requires full scan, GIN doesn't support it - Mailing list pgsql-general

From Stuart Bishop
Subject Regression - Query requires full scan, GIN doesn't support it
Date
Msg-id 467768E1.3040704@stuartbishop.net
Whole thread Raw
Responses Re: Regression - Query requires full scan, GIN doesn't support it  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-general
Hi.

I recently converted a load of GIST indexes used by tsearch2 to GIN, as my
app is read heavy. We now occasionally get the exception:

    Query requires full scan, GIN doesn't support it

Thankfully it is happening very rarely, but as the querys are generated from
user input we can't stop this entirely.

Is this a permanent limitation of GIN, or is a fix possible?

Is a fix being worked on?

If a fix is forthcoming, will it be available in the 8.2 series or only 8.3+?

(It certainly looks like a bug to me, as the relevant queries work if the
index is dropped, and queries working or failing depending on the existence
of an index seems rather wrong to me.)

Only relevant discussion on this I can find is
http://archives.postgresql.org/pgsql-hackers/2007-01/msg01581.php. There
appear to be no replies visible though :-(

--
Stuart Bishop <stuart@stuartbishop.net>
http://www.stuartbishop.net/


Attachment

pgsql-general by date:

Previous
From: marcelo Cortez
Date:
Subject: Re: help with libpq program
Next
From: g.hintermayer@inode.at
Date:
Subject: Re: Apparent Wraparound?