Edge-compatible Serverless Driver for Postgres 4 years ago
Just for the recerence, it is possible to use Cloudflare Tunnel to connect to Postgres from Cloudflare Workers [1]. IIRC they also use WebSockets for communication between the Worker and the Tunnel.
[1] https://developers.cloudflare.com/workers/tutorials/query-po...