On 19 Feb 2018 I wrote > On Thu, Feb 15, 2018 at 09:31:30AM -0700, TedJones wrote: > > > > What is the correct way to run the file? Thanks. > > Apologies. Recent changes in the fast changing Julia caused a problem > with the present code. Tests I have done today showed there is a bug > with the CSV-library which I could overcome using a workaround. But the > rest of the code, although it still works, now is unreasonably slow. > > I could so far not determine the cause. > > If I cannot fix it soon, I will probably rewrite the script in Python3.
I have created a github repository. The script to create a PostgreSQL dumpfile from a csv is available at https://github.com/johannspies/csv_to_sql.jl . Initial tests seems to indicate that it is working now. Regards Johann -- Johann Spies Telefoon: 021-808 4699 Databestuurder / Data manager Faks: 021-883 3691 Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie Centre for Research on Evaluation, Science and Technology Universiteit Stellenbosch. The integrity and confidentiality of this e-mail is governed by these terms / Die integriteit en vertroulikheid van hierdie e-pos word deur die volgende bepalings gereël. http://www.sun.ac.za/emaildisclaimer