Re: Wrong dead return value in jsonb_utils.c

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Rikard Falkeborn <rikard.falkeborn@gmail.com>, pgsql-hackers@postgresql.org
Date: 2019-05-13T00:17:45Z
Lists: pgsql-hackers
On Sun, May 12, 2019 at 10:15:05AM -0400, Tom Lane wrote:
> +1 for a HEAD-only change.  I think the only really good arguments
> for back-patching would be if this were causing compiler warnings
> (but we've seen none) or if we thought it would likely lead to
> hazards for back-patching future bug fixes (but the adjacent lines
> seem unlikely to change).

If it were to generate warnings, we would have already caught them as
this comes from 1171dbd.  Committed to HEAD.
--
Michael

Commits

  1. Fix incorrect return value in JSON equality function for scalars