pg_grpc turns any gRPC service into a first-class SQL function call. No codegen, no middleware, no app-layer glue. Invoke RPCs from triggers, materialized views, scheduled jobs, or ad-hoc queries.
30-second quickstart
# Install (see https://csenshi.github.io/pg_grpc/installation for all paths)
cargo pgrx install --release --no-default-features --features pg18CREATE EXTENSION pg_grpc; SELECT grpc_call( 'grpcb.in:9001', 'grpcbin.GRPCBin/DummyUnary', '{"f_string": "hello"}'::jsonb, options => '{"tls": {}}'::jsonb );
Documentation
📚 csenshi.github.io/pg_grpc - installation, TLS, user-supplied protos, recipes, full reference.