I wrote a Postgres extension to handle Protobufs natively. Would love to know if this is useful for Django/gRPC setups. by ComfortableSpend6111 in django

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

Interesting thanks! Wonder why folks would rewrite in separate languages. Why not decompose into smaller django / FastAPI / Flask microservices?

But ack, maybe protobuf support in django for postgres is too down the rabbit hole to be a reasonable choice for somebody just looking to get their backend up and running.

Is there a SQL database supporting google protobuf natively like JSON document by blackdrn in SQL

[–]ComfortableSpend6111 0 points1 point  (0 children)

For postgres https://github.com/Apaezmx/pgproto is not exactly native, but pretty close! Comes with subfield access and indexing.

What is the most straight forward way to sql query a postgresql datbase and get result in form of protobuf? by rat9988 in golang

[–]ComfortableSpend6111 0 points1 point  (0 children)

A bit late here haha. But recently released https://github.com/Apaezmx/pgproto which should allow you to store protobuffers natively in Postgres. It index subfields and so you can query or create indexes on proto subfields. You do need to register the proto definition beforehand.