Error: write CONNECTION_CLOSED [some value].hyperdrive.local:5432 on 100% of my requests to a Hyperdrive private database. I think it might be coming from a database error because I've just modified the schemas, but don't see anywhere to view a more specific error message. Is there somewhere where that will be logged?cloudflared tunnel diag and that resulted in errorssql template or .unsafe() for postgres.js). It then works for most queries, but on repeated ones it'll often throw a connection error. The best way to get it to work reliably is to throw an error after your query (like by running ()), and Clickhouse Postgres resets the entire connection on all errors, so you'll get a new conn on the next attempt, rip connection pooling though. It works fine for my limited use of small data querying though, and connecting securely through a tunnel.fetch_types but no dice
jsonb in some cases


CONNECTION_CLOSEDs instead of timeoutsexport function createDbConnection(databaseUrl: string) {
const sql = neon(databaseUrl);
return drizzle(sql, { schema });
}export function createDbConnection(hyperDrivedatabaseUrl: string) {
client = postgres(hyperDrivedatabaseUrl,{
max: 1,
fetch_types: false,
},);
return drizzle(client, { schema });
}Error: write CONNECTION_CLOSED [some value].hyperdrive.local:5432