Closed rjalexa closed 2 years ago
I have no idea where this tmp_loader.sql come from but mate, you need to remove all those -e from the file. Also, it's not right for QUOTE E'. If the single quote has been used as a QUOTE mark, then try to use it as QUOTE E'\''
The -e was coming from the shell script echo commands, which is a flag so that escaped characters are interpreted, so the difference between: echo -e "foo\tbar" which gives foo bar as output and echo "foo\tbar" which gives you that literal string back foo\tbar
I'd be interested to know what OS this was being run on.
tmp_loader.sql is generated by the load_release-postgresql.sh script Environment is MacOS 12.6 with zsh Closed since I switched to MySQL out of urgency (and opened a new issue for it regardin transitive closures) Thank you very much for your support
Hmm, maybe I was wrong about the source of the -e problem then, because echo -e behaves as expected when I try it on my Mac under zsh. I'll try it out, but some other time because you said your MySQL issue was more pressing.
Launched sh load_release-postgresql.sh SnomedCT_InternationalRF2_PRODUCTION_20221031T120000Z.zip snomedct FULL
Tables created as desired but then get errors from tmp_loader.sql as follows:
and the content of tmp_loader.sql is: