From 36230b10468c3a6cf582c797ad5d1aba11d36ab7 Mon Sep 17 00:00:00 2001 From: ani Date: Sun, 19 Jul 2026 14:51:33 +0000 Subject: [PATCH] fix(mimic-iv): quote mimic_data_dir in load_gz and load_7z Compressed load scripts still used unquoted \cd :mimic_data_dir. --- mimic-iv/buildmimic/postgres/load_7z.sql | 2 +- mimic-iv/buildmimic/postgres/load_gz.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mimic-iv/buildmimic/postgres/load_7z.sql b/mimic-iv/buildmimic/postgres/load_7z.sql index 5f238bc44..8ccc46047 100644 --- a/mimic-iv/buildmimic/postgres/load_7z.sql +++ b/mimic-iv/buildmimic/postgres/load_7z.sql @@ -4,7 +4,7 @@ -- To run from a terminal: -- psql "dbname= user=" -v mimic_data_dir= -f load_gz.sql -\cd :mimic_data_dir +\cd :'mimic_data_dir' -- making sure that all tables are emtpy and correct encoding is defined -utf8- SET CLIENT_ENCODING TO 'utf8'; diff --git a/mimic-iv/buildmimic/postgres/load_gz.sql b/mimic-iv/buildmimic/postgres/load_gz.sql index f77ac82fa..e9a895a46 100644 --- a/mimic-iv/buildmimic/postgres/load_gz.sql +++ b/mimic-iv/buildmimic/postgres/load_gz.sql @@ -4,7 +4,7 @@ -- To run from a terminal: -- psql "dbname= user=" -v mimic_data_dir= -f load_gz.sql -\cd :mimic_data_dir +\cd :'mimic_data_dir' -- making sure that all tables are emtpy and correct encoding is defined -utf8- SET CLIENT_ENCODING TO 'utf8';