Skip to content

fix: clarify error message for PostgreSQL Engine support #2099

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

Closed

Conversation

mikemherron
Copy link
Contributor

Problem

When trying to build the project under a fresh Ubuntu WSL install, tests would fail with the error "the PostgreSQL engine does not support Windows" - however, the actual reason was that gcc was not installed, therefore CGO was not available. This occurred because postgresql/parse_disabled.go is included when building on windows OR when CGO is not available - however it's possible (as in my case) to be running in a linux environment and still have CGO unavailable.

Solution

This PR updates the error message to clarify that both Windows and any environment without CGO is not supported.

@kyleconroy
Copy link
Collaborator

Fixed by #2100

@kyleconroy kyleconroy closed this Feb 22, 2023
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