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

From: Oleg Bartunov <obartunov(at)gmail(dot)com>
To: Erik Rijkers <er(at)xs4all(dot)nl>
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 08:46:17
Message-ID: CAF4Au4x_QVJaMHev1YW_f1HtJzc06dZgk23uOhDSu1fMCE3zYA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

https://github.com/feodor/postgres

On Wed, Jan 15, 2014 at 11:10 AM, Erik Rijkers <er(at)xs4all(dot)nl> wrote:
> 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 Marko Tiikkaja 2014-01-15 09:08:30 Re: plpgsql.warn_shadow
Previous Message Heikki Linnakangas 2014-01-15 08:27:26 Re: [Lsf-pc] Linux kernel impact on PostgreSQL performance