pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Lakhin <exclusion@gmail.com>
To: hackerzheng666@gmail.com, Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19910: json(b)_to_tsvector() nested array filter gives internal error XX000 "unexpected end of flag array"
Date: Tue, 17 Nov 2026 21:00:01 +0200
Message-ID: <c8506039-b249-425e-94cb-4975aebb6cd3@gmail.com> (raw)
In-Reply-To: <19910-24199f8af1474753@postgresql.org>
References: <19910-24199f8af1474753@postgresql.org>

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

view thread (3+ messages)

Message-ID: <c8506039-b249-425e-94cb-4975aebb6cd3@gmail.com>
Permalink:  ../c8506039-b249-425e-94cb-4975aebb6cd3@gmail.com/
Also on:    postgresql.org/message-id/c8506039-b249-425e-94cb-4975aebb6cd3@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: exclusion@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #19910: json(b)_to_tsvector() nested array filter gives internal error XX000 "unexpected end of flag array"
  In-Reply-To: <c8506039-b249-425e-94cb-4975aebb6cd3@gmail.com>
  References: <19910-24199f8af1474753@postgresql.org> <c8506039-b249-425e-94cb-4975aebb6cd3@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox