> 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@sigaev.ru
WWW: http://www.sigaev.ru/