Re: pgsql: Implement jsonpath .datetime() method - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Implement jsonpath .datetime() method
Date
Msg-id 30277.1569453149@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Implement jsonpath .datetime() method  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Responses Re: pgsql: Implement jsonpath .datetime() method  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
List pgsql-committers
Alexander Korotkov <a.korotkov@postgrespro.ru> writes:
> I've noticed buildfarm is unhappy with my commits.

The proximate problem seems to be that compareItems() is insufficiently
careful to ensure that both values are non-null before passing them
off to datatype-specific code.  The code accidentally fails to crash
on 64-bit machines, but it's still giving garbage answers, I think.

            regards, tom lane



pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: pgsql: Correctly cast types to Datum and back in compareDatetime()
Next
From: Alexander Korotkov
Date:
Subject: Re: pgsql: Implement jsonpath .datetime() method