Re: BUG #15514: process fails on jsonb_populate_recordset query. see simple example below

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>
Cc: 4321ip(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: BUG #15514: process fails on jsonb_populate_recordset query. see simple example below
Date: 2018-11-21 02:47:47
Message-ID: 87sgzvrvyg.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

>>>>> "Haribabu" == Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)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)

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2018-11-21 05:03:48 Re: BUG #15514: process fails on jsonb_populate_recordset query. see simple example below
Previous Message Michael Paquier 2018-11-21 00:04:17 Re: ALTER INDEX ... ALTER COLUMN not present in dump