cloudflare / cloudflare/cloudflare-docs

tokio-postgres is not supported by hyperdrive, but the doc says it can be used

Open
#31,361 1 comment 0 reactions 8 assignees Claimed by @vy-ton View on GitHub
content:edit documentation product:hyperdrive stale
Dominant language
MDX
Stars
5.2k
Forks
16.7k
Avg merge
2d 6h
Merged PRs (30d)
337

Description

### Existing documentation URL(s)

- https://developers.cloudflare.com/hyperdrive/examples/connect-to-postgres/#supported-drivers

### What changes are you suggesting?

https://github.com/cloudflare/workers-sdk/issues/13798#issuecomment-4420362234

`tokio-postgres` is not supported. And in fact, it's not usable in many cases, for example, connection will be closed if there's CTE or user-defined type (I cannot ensure which is the real reason in my practice).

(EDIT: it's user-defined type leads hyperdrive shutdown the connection)

Maybe it should be removed or marked as highly unrecommended.

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.