Re: jsonb failed assertions

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: jsonb failed assertions
Date: 2014-05-20 18:53:53
Message-ID: CAM3SWZTRW_9PWN=qYnyu0O8FHWVejdT5QCAxQGhQhYpV8d++0A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, May 20, 2014 at 11:40 AM, Peter Geoghegan <pg(at)heroku(dot)com> wrote:
>
> So, what type is va.type, if not one of those two?

You should be able to figure out which pair of JSON documents are
being compared by printing JsonbIterator.dataProper within GDB (that
is, you should do so for both ita and itb within
compareJsonbContainers()). That might allow you to produce a simple
test-case.

I am in the airport right now, about to fly to pgCon, and so may not
have a chance to look at this properly for a day or two.

Thanks.
--
Peter Geoghegan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Ross 2014-05-20 18:59:31 pg_upgrade fails: Mismatch of relation OID in database 8.4 -> 9.3
Previous Message Peter Geoghegan 2014-05-20 18:40:25 Re: jsonb failed assertions