Re: BUG #4446: Full text search cannot start with an apostrophe

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4446: Full text search cannot start with an apostrophe
Дата
Msg-id 8078.1222866511@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4446: Full text search cannot start with an apostrophe  ("Ryan Wallace" <rywall@interchange.ubc.ca>)
Список pgsql-bugs
"Ryan Wallace" <rywall@interchange.ubc.ca> 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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Ryan Wallace"
Дата:
Сообщение: BUG #4446: Full text search cannot start with an apostrophe
Следующее
От: "Jen McCann"
Дата:
Сообщение: BUG #4447: install failed to start; libintl3.dll was not found