Re: nested hstore patch - FailedAssertion("!(value->array.nelems == 1)

From: "Erik Rijkers" <er(at)xs4all(dot)nl>
To: obartunov(at)gmail(dot)com
Cc: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "David Wheeler" <david(at)justatheory(dot)com>, "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: nested hstore patch - FailedAssertion("!(value->array.nelems == 1)
Date: 2014-01-15 07:10:27
Message-ID: 03b404971f101bdae009ff657f400a75.squirrel@webmail.xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, January 15, 2014 08:01, Oleg Bartunov wrote:
> It doesn't crashed in the last version in our repository.
>
> =# select 'x'::hstore || ('a=>"1"':: hstore) ;
> ?column?
> ---------------
> "x", "a", "1"
> (1 row)
>

OK, shall I use that repository instead of the latest posted patch?
No point in testing old code ( I used nested_hstore_and_jsonb-2.patch ).

Could you send a link to where that repository is?

( btw, your query is not quite the same as the one I used:
select 'x' || ('a=>"1"':: hstore)
but your query also crashes my server here so I suppose
it triggers the same bug )

thanks,

Erik Rijkers

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2014-01-15 07:19:57 Re: [PATCH] Negative Transition Aggregate Functions (WIP)
Previous Message Jaime Casanova 2014-01-15 07:06:49 Re: Turning recovery.conf into GUCs