Re: jsonb failed assertions - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: jsonb failed assertions
Date
Msg-id CAFj8pRDPN7tB+n4Y3XFe=Wkfrs-_+TMHOF+5e2m=iwtPDm-BJg@mail.gmail.com
Whole thread Raw
In response to Re: jsonb failed assertions  (Peter Geoghegan <pg@heroku.com>)
Responses Re: jsonb failed assertions  (Peter Geoghegan <pg@heroku.com>)
List pgsql-hackers



2014-05-20 20:40 GMT+02:00 Peter Geoghegan <pg@heroku.com>:
On Tue, May 20, 2014 at 11:23 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> TRAP: FailedAssertion("!(va.type == jbvArray || va.type == jbvObject)",
> File: "jsonb_util.c", Line: 208)

So, what type is va.type, if not one of those two?

va.type is zero .. jbvNull

Regards

Pavel
 

--
Peter Geoghegan

pgsql-hackers by date:

Previous
From: Jeff Ross
Date:
Subject: pg_upgrade fails: Mismatch of relation OID in database 8.4 -> 9.3
Next
From: Peter Geoghegan
Date:
Subject: Re: jsonb failed assertions