Skip to content

Support for Cloudflare Workers TCP connect()? #598

@karlhorky

Description

@karlhorky

Hey @porsager 👋 hope you're well!

Cloudflare announced TCP connect() from Cloudflare Workers recently, and they mentioned that pg has support out of the box:

pg, the most widely used JavaScript database driver for PostgreSQL, works on Cloudflare Workers today, with more database drivers to come.

We’ve worked with the maintainers of pg, one of the most popular database drivers in the JavaScript ecosystem, used by ORMs including Sequelize and knex.js, to add support for connect().

Maybe this is done in these commits:

https://github.com/brianc/node-postgres/compare/18b8ceae17f89b70b06d9eb9e5fe0e0f9dedda2e..14b840e96e57fc0617b5c4758f6318f774148ee4

Maybe postgres can also support TCP connections from Cloudflare Workers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions