Re: Empty string in lexeme for tsvector

Поиск
Список
Период
Сортировка
От Jean-Christophe Arnu
Тема Re: Empty string in lexeme for tsvector
Дата
Msg-id CAHZmTm27jKrVNa=g0B8wTUYdjZye=+4_zckfmV81-tOJdWae=g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Empty string in lexeme for tsvector  (Artur Zakirov <zaartur@gmail.com>)
Ответы Re: Empty string in lexeme for tsvector  (Jean-Christophe Arnu <jcarnu@gmail.com>)
Список pgsql-hackers


Le dim. 26 sept. 2021 à 15:55, Artur Zakirov <zaartur@gmail.com> a écrit :
Nice catch! The patch looks good to me.
Can you also add a more general test case:

=# SELECT $$'' '1' '2'$$::tsvector;
ERROR:  syntax error in tsvector: "'' '1' '2'"
LINE 1: SELECT $$'' '1' '2'$$::tsvector;


Thank you, Artur for spotting this test.
It is now included into this patch.
 
--
Jean-Christophe Arnu
Вложения

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

Предыдущее
От: Nikolay Samokhvalov
Дата:
Сообщение: Re: Add create and update timestamp to all objects
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: When is int32 not an int32?