Re: BUG #13937: 'src' -> jsonb_each() -> jsonb_object() -> 'dst' does not recreate 'src' as valid jsonb - Mailing list pgsql-bugs

From Xtra Coder
Subject Re: BUG #13937: 'src' -> jsonb_each() -> jsonb_object() -> 'dst' does not recreate 'src' as valid jsonb
Date
Msg-id CAL2enjLZj21rb6qsJPVJYpNxF-A_pTt+aWKpkf1yYj+tYSRiSg@mail.gmail.com
Whole thread Raw
In response to BUG #13937: 'src' -> jsonb_each() -> jsonb_object() -> 'dst' does not recreate 'src' as valid jsonb  (xtracoder@gmail.com)
List pgsql-bugs
Re: I think your original coding is kinda broken anyway; there's no
hard guarantee
that those two array sub-selects will give results in the same order.
----------------------------------

Order of the keys is, of course, of no point here (and is not relevant for
normal JSON). Conversion to string is just for 'representational/debugging'
purposes.

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #13936: jsonb_object() -> ERROR: unknown type of jsonb container
Next
From: Xtra Coder
Date:
Subject: Re: BUG #13937: 'src' -> jsonb_each() -> jsonb_object() -> 'dst' does not recreate 'src' as valid jsonb