Skip to content

Conversation

@harshil1712
Copy link
Contributor

Summary

Updates the Workers Postgres tutorial to use node-postgres.

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.

@hyperlint-ai
Copy link
Contributor

hyperlint-ai bot commented Jul 1, 2025

Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment.

We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally.


PR Change Summary

Updated the Workers Postgres tutorial to utilize the node-postgres library for database connections.

  • Replaced the postgres library with node-postgres (pg) in the tutorial.
  • Updated installation instructions to include TypeScript types for pg.
  • Modified code examples to reflect the new connection method using the Client class from pg.
  • Adjusted the tutorial to ensure compatibility with the latest version of node-postgres.

Modified Files

  • src/content/docs/workers/tutorials/postgres/index.mdx

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2025

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/workers/ @cloudflare/workers-docs, @GregBrimble, @irvinebroque, @mikenomitch, @korinne, @WalshyDev, @cloudflare/deploy-config, @cloudflare/pcx-technical-writing, @kodster28, @cloudflare/wrangler, @cloudflare/workers-runtime-1, @cloudflare/wrangler

@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2025

@thomasgauvin thomasgauvin merged commit 7ef63f7 into production Aug 12, 2025
11 checks passed
@thomasgauvin thomasgauvin deleted the update-postgres-tutorial branch August 12, 2025 14:29
thomasgauvin pushed a commit that referenced this pull request Aug 15, 2025
* Update Postgres tutorial to use node-postgres

* Update src/content/docs/workers/tutorials/postgres/index.mdx

---------

Co-authored-by: Jun Lee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers Related to Workers product size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants