Re: Empty string in lexeme for tsvector

Поиск
Список
Период
Сортировка
От Artur Zakirov
Тема Re: Empty string in lexeme for tsvector
Дата
Msg-id CAKNkYnyTcWsDdkmvXhgF-sZYJie3Bqr+DKQpRBtzmAur2k9i_Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Empty string in lexeme for tsvector  (Jean-Christophe Arnu <jcarnu@gmail.com>)
Ответы Re: Empty string in lexeme for tsvector  (Jean-Christophe Arnu <jcarnu@gmail.com>)
Список pgsql-hackers
On Fri, Sep 24, 2021 at 2:39 PM Jean-Christophe Arnu <jcarnu@gmail.com> wrote:
> Here's a new patch file taking your comments into account.

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;

-- 
Artur



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: extended stats on partitioned tables
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: typos (and more)