Skip to content
New issue

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

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

Already on GitHub? # to your account

Allow extra options to be passed to psql calls with MIMIC-III #1195

Merged

Conversation

juliangilbey
Copy link
Contributor

Hi!

The mimic-iii/buildmimic/postgres/ scripts allow the database to be owned by any user, but the script mimic-iii/concepts/postgres_make_concepts.sh does not currently support this. This patch gives the postgres_make_concepts.sh the ability to do this, without changing its default behaviour.

Note: the patch looks like it's rewritten every single line of this script, but actually the changes are very modest: the key change is to use a connection string rather than command-line options, which requires that ${CONNSTR} is double-quoted everywhere.

@alistairewj
Copy link
Member

Seems reasonable - thanks! Probably worth adding the to the MIMIC-IV version later.

@alistairewj alistairewj merged commit d10c765 into MIT-LCP:main Dec 8, 2021
@juliangilbey juliangilbey deleted the flexible_psql_connection_string branch January 4, 2022 06:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants