pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: vvvasilev93@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15311: Incorrect comparison of the empty array with the value of the custom type from the table field
Date: Tue, 07 Aug 2018 10:34:33 -0400
Message-ID: <5592.1533652473@sss.pgh.pa.us> (raw)
In-Reply-To: <153363599037.1298.18121443062293897247@wrigleys.postgresql.org>
References: <153363599037.1298.18121443062293897247@wrigleys.postgresql.org>

=?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




view thread (2+ messages)

Message-ID: <5592.1533652473@sss.pgh.pa.us>
Permalink:  ../5592.1533652473@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5592.1533652473@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, vvvasilev93@gmail.com
  Subject: Re: BUG #15311: Incorrect comparison of the empty array with the value of the custom type from the table field
  In-Reply-To: <5592.1533652473@sss.pgh.pa.us>
  References: <153363599037.1298.18121443062293897247@wrigleys.postgresql.org> <5592.1533652473@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox