| От | Aleksandr Parfenov |
|---|---|
| Тема | Re: new function for tsquery creartion |
| Дата | |
| Msg-id | 8829c490d0e17b6033b3fd622dfeed1e@postgrespro.ru обсуждение исходный текст |
| Ответ на | Re: new function for tsquery creartion (Aleksander Alekseev <a.alekseev@postgrespro.ru>) |
| Ответы |
Re: new function for tsquery creartion
|
| Список | pgsql-hackers |
Hello hackers, On 2018-03-28 12:21, Aleksander Alekseev wrote: > It doesn't sound right to me to accept any input as a general rule but > sometimes return errors nevertheless. That API would be complicated for > the users. Thus I suggest to accept any garbage and try our best to > interpret it. I agree with Aleksander about silencing all errors in websearch_to_tsquery(). In the attachment is a revised patch with the attempt to introduce an ability to ignore syntax errors in gettoken_tsvector(). I'm also read through the patch and all the code looks good to me except one thing. The name of enum ts_parsestate looks more like a name of the function than a name of a type. In my version, it renamed to QueryParserState, but you can fix it if I'm wrong. -- Aleksandr Parfenov Postgres Professional: http://www.postgrespro.com Russian Postgres Company
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера