Hello Zheng and Tom,
17.11.2026 07:03, PG Bug reporting form wrote:
> The following bug has been logged on the website:
>
> Bug reference: 19910
> Logged by: Zheng Hacker
> ...
> select jsonb_to_tsvector('english'::regconfig, '{"a":"b c"}'::jsonb,
> '[[1]]'::jsonb);
> ERROR: XX000: unexpected end of flag array
> LOCATION: parse_jsonb_index_flags, jsonfuncs.c:5643
FWIW, I also reported this before:
https://www.postgresql.org/message-id/f2758799-b7c1-4baf-8593-8899802cf48c%40gmail.com
Maybe other internal errors from that thread worth fixing too...
Best regards,
Alexander