4343d6bb4e5a4e0198eb23ef8dc30d50
4343d6bb4e5a4e0198eb23ef8dc30d50
pg library or postgres?pg is preferable.npx wrangler dev --remote, to see if you need actual code changes. --remote is usually much better behaved.
SET search_path .. command but I believe that does not work... it being a session config and clients don't stay on a session.ALTER ROLE for the user you have set up for your Hyperdrive. That's the canonical Postgres approach and should fit well with Hyperdrive basically functioning like any other user.The Workers runtime canceled this request because it detected that your Worker's code had hung and would never generate a response. Refer to: https://developers.cloudflare.com/workers/observability/errors/or this one:
Promise will never complete.The requests timeout and fail obviously but the worker is stupid simple (it fails at 3ms CPU time and 60s wall time so it's obviously waiting for something external) and I have never seen this error on "normal" workers (those not interacting with Hyperdrive) before.