Re: able column headings PgAmin4

2018-04-05 Thread Johann Spies
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

Re: able column headings PgAmin4

2018-02-19 Thread Johann Spies
On Thu, Feb 15, 2018 at 09:31:30AM -0700, TedJones wrote: > > What is the correct way to run the file? Thanks. The way I am using it is like this: julia ~/bin/csv_to_sql.jl inputfile.csv tablename > tablename.sql Apologies. Recent changes in the fast changing Julia caused a problem with the p

Re: able column headings PgAmin4

2018-02-15 Thread TedJones
Hi Johann I have installed Julia and I have a julia command prompt 'julia>' and I also have Juno for JuliaPro which is an IDE. I have loaded the file into the IDE and tried to run it. Initially I had >julia csv_to_sql that produced an error - syntax: extra token 'csv_to_sql' after end of expres

Re: able column headings PgAmin4

2018-02-07 Thread Johann Spies
On Wed, Feb 07, 2018 at 01:59:32PM -0800, Anthony DeBarros wrote: > Hi, all, > > My favorite solution to this issue is to use the very handy Python library > csvkit: https://csvkit.readthedocs.io/en/1.0.2/ For the same purpose I have written a script in Julia which I regularly use. It creates an