Re: BUG #19910: json(b)_to_tsvector() nested array filter gives internal error XX000 "unexpected end of flag array"

From: Alexander Lakhin <exclusion(at)gmail(dot)com>
To: hackerzheng666(at)gmail(dot)com, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19910: json(b)_to_tsvector() nested array filter gives internal error XX000 "unexpected end of flag array"
Date: 2026-11-17 19:00:01
Message-ID: c8506039-b249-425e-94cb-4975aebb6cd3@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Previous Message Ayush Tiwari 2026-11-17 16:59:29 Re: BUG #19906: Backend crash (signal 11) creating a LANGUAGE sql function that returns a composite type from a sub-