node-postgres (pg, probably more specifically pg-pool) doesn't do too well with serverless, not handling TCP connections killed while in the pool (or something): https://github.com/brianc/node-postgres/issues/2112 (open since 2020)
A nice marketing opportunity for Neon/Supabase to get a fix officially released.
A nice marketing opportunity for Neon/Supabase to get a fix officially released.