tsearch2 error msg

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: tsearch2 error msg
Date: 2006-10-03 14:34:06
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA3577A@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

search=# select to_tsquery('foo bar');
ERROR: syntax error

Might want to enhance that message to include the information that it's
parsing the tsquery that's failing? I originally had it as part of a
much larger query, and it took me a while to remember that it's tsearch
that spits out that very generic error message.

//Magnus

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Teodor Sigaev 2006-10-03 14:39:28 src/backend/parser/parse_expr.c:exprTypmod() question
Previous Message Tom Lane 2006-10-03 14:24:11 Re: Faster StrNCpy