| От | Howard News |
|---|---|
| Тема | Problem with text search in Postgresql 10 |
| Дата | |
| Msg-id | 094c0bc5-12af-90c7-8dab-d181efec3149@selestial.com обсуждение исходный текст |
| Ответы |
Re: Problem with text search in Postgresql 10
|
| Список | pgsql-general |
Hi everyone,
a colleague has restored a backup from an older version of Postgres
(unknown) to version 10. Everything appears to be working fine with the
exception of the text search.
If I try:
select to_tsquery('english', 'hello');
I get the error
ERROR: invalid input syntax for type oid: "english"
LINE 1: select to_tsquery('english','Hello');
I can see from \dF that I have 'pg_catalog.english' installed. It works
if I do not specify the dictionary using:
select to_tsquery('hello');
Any ideas how to fix this? I have read in older support forums that the
problem may be related to older contrib methods for ts_query. If this is
so - how do I remove the contrib decalrations?
Thanks
Howard
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера