"Ryan Wallace" <[EMAIL PROTECTED]> writes:
> A tsquery cannot be created if the first character is an apostrophe:

> SELECT * FROM text_search_vectors WHERE
> text_search_vector @@ to_tsquery('''ksan&panel')

That's not a bug, that's you not following the syntax rules for lexemes.
You'd need something like $$'''ksan' & panel$$ to represent a lexeme
with a quote in it.

                        regards, tom lane

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to