cloudflare-docs
cloudflare-docs copied to clipboard
Add note to node-postgres tutorial to highlight it doesn't work on Pages
Existing documentation URL(s)
https://developers.cloudflare.com/workers/tutorials/postgres/
What changes are you suggesting?
Add a note to the top of the tutorial that calls out the fact that this approach only works in a Worker and not in a Pages project.
Additional information
See https://github.com/cloudflare/workers-sdk/pull/2541#issuecomment-1964627452
Its not from this repo, but its related. Its unclear how to use pg in a next-on-pages project. Dev & Deploy.
@petebacondarwin I read through the tutorial and I thought it was pretty clear that this was for Cloudflare Workers (it's in the Workers space, it clearly calls out the product name, etc.). Not sure if the content was updated and that's why it's clear to me?
If updates should be made, feel free to suggest a PR.
Looks like it was heavily updated in Aug and Sep. Thanks for checking.