Re: JSON Patch for PostgreSQL - BSON Support?

Поиск
Список
Период
Сортировка
От Charles Pritchard
Тема Re: JSON Patch for PostgreSQL - BSON Support?
Дата
Msg-id 4C683282.3070604@jumis.com
обсуждение исходный текст
Ответы Re: JSON Patch for PostgreSQL - BSON Support?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I'd originally sent this to Joseph Adams, as he has been working on 
adding a JSON datatype.
I've suggested supporting BSON, as there are many client implementations 
available,
and the format is more efficient than xml and json trees for some use cases.

http://bsonspec.org/

On 8/15/10 11:27 AM, Joseph Adams wrote:
> On Sat, Aug 14, 2010 at 6:35 PM, Charles Pritchard<chuck@jumis.com>  wrote:
>    
>> Hello,
>>
>> I saw that you've submitted a patch to add JSON support to PostgreSQL.
>> Thought I'd mention that BSON is gradually picking up in popularity,
>> and does have a good amount of cross-client support.
>>
>> That said, I wouldn't be surprised if a patch were looked at with suspicion,
>> but it does make sense as a contrib module.
>>
>> BSON is a binary json format used by Mongo DB.
>>
>> I don't use it, at all, but it seems like a good fit, and the right time.
>>
>> Returning BSON would be more efficient than returning JSON,
>> for some use cases.
>>
>> -Charles
>>
>>      
> Would you mind posting this to the pgsql-hackers@postgresql.org
> mailing list?  I think a BSON module would be a good idea, as it would
> provide a more efficient alternative to the more text-oriented JSON
> data type.
>
>
> Joey Adams
>    



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: DropRelFileNodeBuffers API change (was Re: [BUGS] BUG #5599: Vacuum fails due to index corruption issues)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: DropRelFileNodeBuffers API change (was Re: [BUGS] BUG #5599: Vacuum fails due to index corruption issues)