Re: jsonb and nested hstore
От
Bruce Momjian
Тема
Re: jsonb and nested hstore
Дата
Msg-id
20140305170118.GJ28321@momjian.us
Ответ на
Re: jsonb and nested hstore (Andrew Dunstan)
Список
Дерево обсуждения
jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Alvaro Herrera <alvherre@2ndquadrant.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb and nested hstore Alvaro Herrera <alvherre@2ndquadrant.com>
Re: jsonb and nested hstore Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Teodor Sigaev <teodor@sigaev.ru>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore "Erik Rijkers" <er@xs4all.nl>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Hannu Krosing <hannu@2ndQuadrant.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Hannu Krosing <hannu@2ndQuadrant.com>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Alvaro Herrera <alvherre@2ndquadrant.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Thom Brown <thom@linux.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Thom Brown <thom@linux.com>
Re: jsonb and nested hstore Peter Geoghegan <pg@heroku.com>
Re: jsonb and nested hstore Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Oleg Bartunov <obartunov@gmail.com>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Oleg Bartunov <obartunov@gmail.com>
Re: jsonb and nested hstore Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: jsonb and nested hstore Peter Geoghegan <pg@heroku.com>
Re: jsonb and nested hstore Oleg Bartunov <obartunov@gmail.com>
Re: jsonb and nested hstore Peter Geoghegan <pg@heroku.com>
Re: jsonb and nested hstore Teodor Sigaev <teodor@sigaev.ru>
Re: jsonb and nested hstore Teodor Sigaev <teodor@sigaev.ru>
Re: jsonb and nested hstore Peter Geoghegan <pg@heroku.com>
Re: jsonb and nested hstore Oleg Bartunov <obartunov@gmail.com>
Re: jsonb and nested hstore Peter Geoghegan <pg@heroku.com>
Re: jsonb and nested hstore Peter Geoghegan <pg@heroku.com>
Re: jsonb and nested hstore Teodor Sigaev <teodor@sigaev.ru>
Re: jsonb and nested hstore Peter Geoghegan <pg@heroku.com>
Re: jsonb and nested hstore Teodor Sigaev <teodor@sigaev.ru>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Teodor Sigaev <teodor@sigaev.ru>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Teodor Sigaev <teodor@sigaev.ru>
Re: jsonb and nested hstore Peter Geoghegan <pg@heroku.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore "Erik Rijkers" <er@xs4all.nl>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Peter Geoghegan <pg@heroku.com>
Re: jsonb and nested hstore Alvaro Herrera <alvherre@2ndquadrant.com>
Re: jsonb and nested hstore Peter Geoghegan <pg@heroku.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Tomas Vondra <tv@fuzzy.cz>
Re: jsonb and nested hstore Oleg Bartunov <obartunov@gmail.com>
adt Makefile, was Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: adt Makefile, was Re: jsonb and nested hstore Tom Lane <tgl@sss.pgh.pa.us>
Re: adt Makefile, was Re: jsonb and nested hstore Alvaro Herrera <alvherre@2ndquadrant.com>
Re: adt Makefile, was Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: adt Makefile, was Re: jsonb and nested hstore Michael Paquier <michael.paquier@gmail.com>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andres Freund <andres@2ndquadrant.com>
Re: jsonb and nested hstore Heikki Linnakangas <hlinnakangas@vmware.com>
Re: jsonb and nested hstore - small docpatch "Erik Rijkers" <er@xs4all.nl>
Re: jsonb and nested hstore - small docpatch "Erik Rijkers" <er@xs4all.nl>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Oleg Bartunov <obartunov@gmail.com>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Peter Geoghegan <pg@heroku.com>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Hannu Krosing <hannu@2ndQuadrant.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
Re: jsonb and nested hstore Andrew Dunstan <andrew@dunslane.net>
Re: jsonb and nested hstore Merlin Moncure <mmoncure@gmail.com>
On Wed, Mar 5, 2014 at 11:53:31AM -0500, Andrew Dunstan wrote: > >I think we also have to break out how much of the feeling that JSONB is > >not ready is because of problems with the core/contrib split, and how > >much of it is because of the type itself. I am suggesting that > >core/contrib split problems are not symptomatic of data type problems, > >and if address/address the core/contrib split issue, the data type might > >be just fine. > > > > > Splitting out jsonb to an extension is going to be moderately > painful. The json and jsonb functions share some code that's not > exposed (and probably shouldn't be). It's not likely to be less > painful than implementing the hstore GIN/GIST ops for jsonb, I > suspect the reverse. OK, that's good information. So we have JSONB which ties to a core type, JSON, _and_ to a contrib module, hstore. No wonder it is so complex. I am warming up to the idea of moving hstore internals into core, sharing that with JSONB, and having contrib/hstore just call the core functions when defining its data type. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. +
В списке pgsql-hackers по дате отправления