Skip to content

Can make it work with amd64.exe or GO source #76

@Jeftyo

Description

@Jeftyo

Hello everyone,

I have the same problem as other people here, when I use pgfutter_windows_amd64.exe it doesn't work and I don't get an error message, i go to a new line on the prompt. I used a simple command like this:

pgfutter_windows_amd64.exe --db "MyBDD" --schema "public" --port "5432" --user "postgres" --table "STATE" --pw "test" csv STATE.csv

The CSV file is in the repertory.
I check the user and port on the parameter.
I renamed all the columns to exclude the SQL keyword.
I tried using --delimiter ";" like that :

pgfutter_windows_amd64.exe --db "MyBDD" --schema "public" --port "5432" --user "postgres" --table "STATE" --pw "test" csv --delimiter ";" STATUS.csv

Same problem.

I then tried following #67 and worked on the source package to add the change to the pgfutter.go file with Notepad.
Then installed GO for Windows and Git.
When I used "go version" at the prompt, it works.
I then tried this on the file repertory :

pgfutter.go --db "MyBDD" --schema "public" --port "5432" --user "postgres" --table "STATE" --pw "test" csv --delimiter ";" STATUS.csv

and

pgfutter --db "MyBDD" --schema "public" --port "5432" --user "postgres" --table "STATE" --pw "test" csv --delimiter ";" STATUS.csv

Do not work.
I'm not really sure what I'm doing here with the GO file

Can someone help my to make it work?
Thanks.

Jefty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions