Skip to content

feat(pg-connection-string): warn if non-standard ssl options are used #3473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hjr3
Copy link
Collaborator

@hjr3 hjr3 commented May 26, 2025

In preparation for v3.0.0, we start warning users to be explicit about the sslmode they want.

Copy link

cloudflare-workers-and-pages bot commented May 26, 2025

Deploying node-postgres with  Cloudflare Pages  Cloudflare Pages

Latest commit: c546e88
Status: ✅  Deploy successful!
Preview URL: https://b40798d5.node-postgres.pages.dev
Branch Preview URL: https://push-qkwyoukwlmvl.node-postgres.pages.dev

View logs

Copy link
Collaborator

@charmander charmander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could warn this way for repeat callers: https://nodejs.org/api/process.html#avoiding-duplicate-warnings

In preparation for v3.0.0, we start warning users to be explicit about
the sslmode they want.
@hjr3 hjr3 force-pushed the push-qkwyoukwlmvl branch from 5af779f to c546e88 Compare May 27, 2025 13:58
@hjr3
Copy link
Collaborator Author

hjr3 commented May 27, 2025

Could warn this way for repeat callers: https://nodejs.org/api/process.html#avoiding-duplicate-warnings

TIL - implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants