From 35a5d981c03916296c1ea494dc7137d6c90bbf4e Mon Sep 17 00:00:00 2001 From: ani Date: Sun, 19 Jul 2026 14:50:30 +0000 Subject: [PATCH] fix(mimic-iv): quote mimic_data_dir in uncompressed load.sql Uncompressed load.sql still used unquoted \cd :mimic_data_dir, which breaks on paths with spaces. --- mimic-iv/buildmimic/postgres/load.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mimic-iv/buildmimic/postgres/load.sql b/mimic-iv/buildmimic/postgres/load.sql index e48848d98..c2c2f52f0 100644 --- a/mimic-iv/buildmimic/postgres/load.sql +++ b/mimic-iv/buildmimic/postgres/load.sql @@ -5,7 +5,7 @@ -- To run from a terminal: -- psql "dbname= user=" -v mimic_data_dir= -f load.sql -- The script assumes the files are in the hosp and icu subfolders of mimic_data_dir -\cd :mimic_data_dir +\cd :'mimic_data_dir' -- making sure correct encoding is defined as -utf8- SET CLIENT_ENCODING TO 'utf8';