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

fix: Make pfkSourceColumns query work with standard_conforming_strings = off #1995

Conversation

wolfgangwalther
Copy link
Member

Resolves #1992.

Tested by adding standard_conforming_strings = off to the postgrest_test_authenticator role. This made a lot of spec tests fail. The fix made them turn green again.

Didn't commit the config change, as we should probably add some kind of different machinery to test different postgresql configurations.

Copy link
Member

@steve-chavez steve-chavez left a comment

Choose a reason for hiding this comment

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

Tested by adding standard_conforming_strings = off to the postgrest_test_authenticator role. This made a lot of spec tests fail. The fix made them turn green again.

Can confirm: 800 examples, 461 failures, 1 pending.

The fix made them all green 👍

@wolfgangwalther wolfgangwalther merged commit a1b3bca into PostgREST:main Oct 28, 2021
@wolfgangwalther wolfgangwalther deleted the fix-standard-conforming-strings-off branch November 14, 2021 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Postgrest 8 fails to start if standard_conforming_strings=off
2 participants