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?
Hey @porsager 👋 hope you're well!
Cloudflare announced TCP
connect()from Cloudflare Workers recently, and they mentioned thatpghas support out of the box:Maybe this is done in these commits:
https://github.com/brianc/node-postgres/compare/18b8ceae17f89b70b06d9eb9e5fe0e0f9dedda2e..14b840e96e57fc0617b5c4758f6318f774148ee4
Maybe
postgrescan also support TCP connections from Cloudflare Workers?