Re: BUG #15311: Incorrect comparison of the empty array with the value of the custom type from the table field - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #15311: Incorrect comparison of the empty array with the value of the custom type from the table field
Date
Msg-id 5592.1533652473@sss.pgh.pa.us
Whole thread Raw
In response to BUG #15311: Incorrect comparison of the empty array with the value ofthe custom type from the table field  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> [ bogus empty array can be created by jsonb_populate_record ]

I can reproduce this in 10.5, but not in v11 or HEAD.  I believe
it was fixed as a consequence of the patch for bug #14826:

https://postgr.es/m/flat/20170923125723.1448.39412@wrigleys.postgresql.org
https://postgr.es/m/20570.1506198383@sss.pgh.pa.us

The reasons for not back-patching still seem good to me.

            regards, tom lane


pgsql-bugs by date:

Previous
From: Victor Yegorov
Date:
Subject: Re: BUG #15313: Waiting `startup` process on a streaming replica
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #15269: Can't reassign bg color to server group once it wasdone previously