Re: JSON Patch for PostgreSQL - BSON Support?
От | Robert Haas |
---|---|
Тема | Re: JSON Patch for PostgreSQL - BSON Support? |
Дата | |
Msg-id | AANLkTi=n+ZsnVcVwZSTVOPkEebwLZVHvGbvaM9z9pb2P@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: JSON Patch for PostgreSQL - BSON Support? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: JSON Patch for PostgreSQL - BSON Support?
|
Список | pgsql-hackers |
On Mon, Aug 16, 2010 at 11:05 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Andrew Dunstan <andrew@dunslane.net> writes: >> If BSON is simply in effect an efficient encoding of JSON, then it's not >> clear to me that we would want another type at all. Rather, we might >> want to consider storing the data in this supposedly more efficient >> format, and maybe also some conversion routines. > > Hmm, that's an interesting plan ... It is interesting, but I'm not sure that it will actually work out well in practice. If what we want to do is compress JSON, TOAST will do that for us without any additional code, and probably a lot more efficiently. Of course, until someone tests it, we're just speculating wildly. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise Postgres Company
В списке pgsql-hackers по дате отправления: