On Fri, Sep 24, 2021 at 2:39 PM Jean-Christophe Arnu <jcarnu(at)gmail(dot)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