cloudflare / cloudflare/developer-platform

[hyperdrive] connection closed if there's user-defined type in sql (postgreSQL)

Aperta
#59 3 commenti 0 reazioni 2 assegnatari Rivendicata da @thomasgauvin Vedi su GitHub
awaiting-response:cloudflare product:hyperdrive
Lingua principale
Nessun dato sulla lingua
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### What versions & operating system are you using?

```sh
System:
OS: Linux 7.0 Arch Linux
CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
Memory: 4.31 GB / 15.33 GB
Container: Yes
Shell: 4.7.1 - /usr/bin/fish
Binaries:
Node: 26.2.0 - /usr/bin/node
npm: 11.16.0 - /usr/bin/npm
npmPackages:
wrangler: ^4.95.0 => 4.98.0
```

### Please provide a link to a minimal reproduction

https://github.com/kingwingfly/cf_worker_hyperdrive_bug_report

### Describe the Bug

I'm using Rust `tokio-postgres` to work with `hyperdrive` + postgresql. And I'll binding user-defined type to the sql.

However, it's simply raise an error: `connection closed`.

The details are in the minimal reproduction.

### Please provide any relevant error logs

Error from console log:
```json
{
"level": "error",
"message": "pg connection error: connection closed"
// ...
}
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.