Skip to content
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

ensureServiceIsConnectedToCloudSql only need to call backend when schemaValidation==NONE #8049

Merged
merged 4 commits into from
Dec 13, 2024

Conversation

fredzqm
Copy link
Contributor

@fredzqm fredzqm commented Dec 9, 2024

[low priority] Minor tweak.

postgresql.schemaValidation !== "NONE" can be used to detect if backend has been linked to Cloud SQL.

We previously used === "STRICT" because at that time only NONE and STRICT were valid, so it's equivalent to !== "NONE".

We forgot to tweak this when adding compatible mode.

@fredzqm
Copy link
Contributor Author

fredzqm commented Dec 11, 2024

Thanks for the review! Will verify locally before merging.

@fredzqm fredzqm merged commit a90eee0 into master Dec 13, 2024
40 of 46 checks passed
@fredzqm fredzqm deleted the fredzqm-patch-2 branch December 13, 2024 18:04
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