Re: UPDATE with json_populate_recordset empty array crashes server

From: Sergei Kornilov <sk(at)zsrv(dot)org>
To: Marks Polakovs <marks-mailinglists(at)markspolakovs(dot)me>, pgsql-bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: UPDATE with json_populate_recordset empty array crashes server
Date: 2019-07-31 09:54:10
Message-ID: 18620891564566850@iva3-67f911cb3a01.qloud-c.yandex.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello

> VERSION(): PostgreSQL 11.1, compiled by Visual C++ build 1914, 64-bit

Please check in actual release.

I think this was already fixed for a long time: https://www.postgresql.org/docs/11/release-11-2.html
> Fix crash when zero rows are fed to json[b]_populate_recordset() or json[b]_to_recordset() (Tom Lane)

regards, Sergei

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2019-07-31 10:12:25 BUG #15934: pg_dump output in wrong order if custom operator class is used as subtype_opclass in a range type
Previous Message Marks Polakovs 2019-07-31 08:55:14 UPDATE with json_populate_recordset empty array crashes server