Re: BUG #15514: process fails on jsonb_populate_recordset query. see simple example below - Mailing list pgsql-bugs

From Andrew Gierth
Subject Re: BUG #15514: process fails on jsonb_populate_recordset query. see simple example below
Date
Msg-id 87sgzvrvyg.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: BUG #15514: process fails on jsonb_populate_recordset query. seesimple example below  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Responses Re: BUG #15514: process fails on jsonb_populate_recordset query. see simple example below
List pgsql-bugs
>>>>> "Haribabu" == Haribabu Kommi <kommi.haribabu@gmail.com> writes:

 Haribabu> when the data is NULL, there is no data to populate and the
 Haribabu> tupleDesc is not updated. Accessing of NULL pointer leads to
 Haribabu> crash. Attached quick simple patch fixes the problem.

Yes, that's an oversight in 4984784f836 (from Tom) which fixed a
_different_ crash here.

Tom: I can take this one if you want?

-- 
Andrew (irc:RhodiumToad)


pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: ALTER INDEX ... ALTER COLUMN not present in dump
Next
From: Tom Lane
Date:
Subject: Re: BUG #15514: process fails on jsonb_populate_recordset query. see simple example below