Better HN
topnewbestaskshowjobs
Log inSign up

csenshi

2 karma · joined Apr 13, 2026 (7mo ago) · 3 submissions

Submissions

comment 7mo ago · link · parent

I built a PostgreSQL extension in Rust (pgrx) that lets you call gRPC services from SQL.

SELECT * FROM grpc_call('user-service:50051', 'GetUser', '{"id": 123}');

Use case: trigger external services from triggers/functions without leaving the database - no application layer needed.

v0.1.0 - currently uses gRPC reflection only. Next up: proto+connection caching, manually loading port files

Still early - feedback on the API and what you'd actually use this for would be great.

2.

Show HN: pg_grpc – Call gRPC services directly from PostgreSQL(github.com ↗)

7 points · by csenshi · 7mo ago · 1 comment

comment 7mo ago · link · parent

Noticed it's only pg17, is that some hard dependency? Also why did you choose C for this and not rust, any specific reason? I see pgvectorscale is built on rust