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

Only clean psql db when using psql #402

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Conversation

mgrunbauer
Copy link
Collaborator

The environment variable ADAGUC_DB contains either /path/to/sqlite.db or connection string for psql. If ADAGUC_DB ends with .db, we assume it's sqlite. See https://github.com/KNMI/adaguc-server/blob/master/adagucserverEC/CDBFactory.cpp#L39.

I've now added this check in the testing code to decide if we need to run psql cleaning.

@mgrunbauer mgrunbauer merged commit e1458a0 into master Sep 3, 2024
2 checks passed
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