Re: BUG #19458: OOM killer in jsonb_path_exists_opr (@?) with malformed JSONPath containing non-existent variables

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Nikita Malakhov <hukutoc(at)gmail(dot)com>
Cc: Amit Langote <amitlangote09(at)gmail(dot)com>, Andrey Rachitskiy <pl0h0yp1(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>, Nikolay Shaplov <dhyan(at)nataraj(dot)su>
Subject: Re: BUG #19458: OOM killer in jsonb_path_exists_opr (@?) with malformed JSONPath containing non-existent variables
Date: 2026-05-31 13:33:06
Message-ID: 674AEA44-D9C5-423D-B118-693CA130106E@yandex-team.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> On 26 May 2026, at 16:17, Nikita Malakhov <hukutoc(at)gmail(dot)com> wrote:
>
> of course OOM is very bad behavior and should be corrected

I think the biggest problem is not OOM, but incorrect results for query
SELECT '42'::jsonb @? '$"no_such_var"';

Best regards, Andrey Borodin.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Pierre Juhen 2026-05-31 16:47:03 Re: BUG #19502: unix_socket_group doesn't work anymore
Previous Message Andrey Borodin 2026-05-31 13:19:55 Re: Possible G2-item at SERIALIZABLE