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

2014-01-15 Thread Erik Rijkers
On Wed, January 15, 2014 09:46, Oleg Bartunov 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) >>> >

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

2014-01-15 Thread Oleg Bartunov
https://github.com/feodor/postgres On Wed, Jan 15, 2014 at 11:10 AM, Erik Rijkers 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? >> --- >>

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

2014-01-14 Thread Erik Rijkers
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 p

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

2014-01-14 Thread Oleg Bartunov
It doesn't crashed in the last version in our repository. =# select 'x'::hstore || ('a=>"1"':: hstore) ; ?column? --- "x", "a", "1" (1 row) On Wed, Jan 15, 2014 at 3:53 AM, Erik Rijkers wrote: > On Mon, January 13, 2014 16:36, Andrew Dunstan wrote: >> A new version of the patc

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

2014-01-14 Thread Erik Rijkers
On Mon, January 13, 2014 16:36, Andrew Dunstan wrote: > A new version of the patch is attached. It includes all of Erik's docs > [ nested_hstore_and_jsonb-2.patch ] This crashes the server: testdb=# select 'x' || ('a=>"1"':: hstore) ; The connection to the server was lost. Attempting reset: F