Re: ERROR: Gin doesn't support full scan due to it's awful

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Charlie Savage <cfis(at)savagexi(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: ERROR: Gin doesn't support full scan due to it's awful
Date: 2006-09-06 08:11:00
Message-ID: 44FE8294.9060301@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I see why it would now. But it would be nice if the message mentioned
> the root cause of the problem - that the tsquery value does not contain
> any lexemes and thus is not valid for doing a search.

... doing a index search :(. GIN core doesn't know anything about
tsvector/tsquery/tsearch - so, error message should mention something like this:
GIN index doesn't support search with void argument.

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Fabi Avilés 2006-09-06 08:18:10 Date using Int8
Previous Message Charlie Savage 2006-09-06 07:59:42 Re: ERROR: Gin doesn't support full scan due to it's awful