TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Live Share: Connect to in-browser PGlite with any Postgres client

4 pointsby gregnr7 months ago

1 comment

gregnr7 months ago
Hi HN - this was an interesting project that involved going deep into the Postgres wire protocol. We managed to get true Postgres proxy&#x2F;routing logic working by handling TLS+SNI at the PG protocol level, something that other API gateways don&#x27;t give you. We bundled this logic into pg-gateway, a new MIT library we built to handle protocol messages from the server side:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;supabase-community&#x2F;pg-gateway">https:&#x2F;&#x2F;github.com&#x2F;supabase-community&#x2F;pg-gateway</a>