Skip to content

fix(mimic-iv-ed): quote postgres mimic_data_dir for paths with spaces#2110

Open
acnimma wants to merge 1 commit into
MIT-LCP:mainfrom
acnimma:fix/ed-postgres-quote-cd
Open

fix(mimic-iv-ed): quote postgres mimic_data_dir for paths with spaces#2110
acnimma wants to merge 1 commit into
MIT-LCP:mainfrom
acnimma:fix/ed-postgres-quote-cd

Conversation

@acnimma

@acnimma acnimma commented Jul 19, 2026

Copy link
Copy Markdown

Summary

  • Use \cd :''mimic_data_dir'' in ED load.sql / load_gz.sql / load_7z.sql

Test plan

  • Load with mimic_data_dir containing a space succeeds
  • Path without spaces still works

Same space-safe psql quoting as the III datadir fix: unquoted \cd :mimic_data_dir splits on spaces. Quote the variable in all three ED load scripts.

\cd :mimic_data_dir breaks when the data directory contains spaces.
Use psql quoted-variable form \cd :''mimic_data_dir'' like the III fix.
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.

1 participant