cloudflare / cloudflare/developer-platform

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

Abierto
#59 3 comentarios 0 reacciones 2 asignados Reclamado por @thomasgauvin Ver en GitHub
awaiting-response:cloudflare product:hyperdrive
Lenguaje dominante
Sin datos de lenguaje
Estrellas
1
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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"
// ...
}
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.