Skip to content

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
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