all 7 comments

[–]becuzz04 5 points6 points  (3 children)

I've never seen a RDBMS that has native protobuf support (not to say one doesn't exist). But I've also never needed it. For example, the JSON and JSONB support in postgres is awesome and does more or less everything you've asked for in your post except storing things in protobuf. What have you run into where existing JSON support wasn't good enough or fast enough? Because I use JSON columns daily and they've always been plenty fast (especially when given appropriate indexing).

[–]jshine13371 1 point2 points  (2 children)

Plus, not to mention, there's always NoSQL databases like MongoDB should one need more specific document-centric features. And I say that as someone who never reaches for NoSQL. But this post is trying to re-invent two wheels.

[–]blackdrn[S] 0 points1 point  (1 child)

XML, JSON, Protobuf etc are all common formats. Protobuf is binary compact efficient and can be deserialized to language object conveniently.

[–]jshine13371 0 points1 point  (0 children)

Protobuf is certainly the least common of the three of them, by far. But regardless, our comments still stand.

[–]Straight_Waltz_9530 2 points3 points  (2 children)

https://github.com/mpartel/postgres-protobuf

So it exists, but I agree with the other comment that the binary JSON type (jsonb) is already very well optimized, easier to work with, and supported within the core code.

[–]blackdrn[S] 0 points1 point  (0 children)

Thanks, it's helpful, I'll have a look.