Unexpected extra row from jsonb_path_query() with a recursive path - Mailing list pgsql-bugs

From Jan Przemysław Wójcik
Subject Unexpected extra row from jsonb_path_query() with a recursive path
Date
Msg-id CA+YsLFo6=voUdskxNcnJdqN4Z+Kck-5t0MxcJNtecNZ5Sws9YA@mail.gmail.com
Whole thread Raw
Responses Re: Unexpected extra row from jsonb_path_query() with a recursivepath  (Michael Paquier <michael@paquier.xyz>)
List pgsql-bugs
PostgreSQL 12.1, compiled by Visual C++ build 1914, 64-bit
Windows 10

Query:

select jsonb_path_query('{"data": [{"key": "value"}]}', '$.**.key')

Actual output:

 jsonb_path_query
------------------
 "value"
 "value"
(2 rows)

Expected output:

 jsonb_path_query
------------------
 "value"
(1 row)

pgsql-bugs by date:

Previous
From: Alexander Law
Date:
Subject: Re: BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
Next
From: Andrey Lepikhov
Date:
Subject: Warning in the RecordTransactionAbort routine during compilation withO3 flag