News for hackers. Stuff that matters.
Re:Show HN: Import CSV and JSON into PostgreSQL the Easy Way by bdcravens on Tuesday August 25, 2015 @05:10PM (#10119472)
As someone kinda ok with go, I'm a little concerned that there's no info on building a binary, and all of the instructions in the README say to download their binary and chmod +x it
Re:Show HN: Import CSV and JSON into PostgreSQL the Easy Way by morgenkaffee on Tuesday August 25, 2015 @05:36PM (#10119602)
Sorry for the inconvenience. I moved the install from source section up in the README.

Perhaps there is a better way than providing a download from github releases and chmod+x it?

Re:Show HN: Import CSV and JSON into PostgreSQL the Easy Way by brunoqc on Tuesday August 25, 2015 @05:25PM (#10119550)
"Install from source

go get github.com/lukasmartinelli/pgfutter"

Re:Show HN: Import CSV and JSON into PostgreSQL the Easy Way by jbverschoor on Tuesday August 25, 2015 @10:37AM (#10116779)
Very nice. Thanks
Re:Show HN: Import CSV and JSON into PostgreSQL the Easy Way by morgenkaffee on Tuesday August 25, 2015 @11:30AM (#10117153)
I know you can already do that with the `COPY FROM` statement in Postgres but I always think it is a pain because you need physical access, need the files to be 100% correct and you have no progress indication.

If you need a more sophisticated solution you can look at pgloader. http://pgloader.io/

Re:Show HN: Import CSV and JSON into PostgreSQL the Easy Way by anarazel on Tuesday August 25, 2015 @12:59PM (#10117893)
> I know you can already do that with the `COPY FROM` statement in Postgres but I always think it is a pain because you need physical access,

Nope, there's COPY ... FROM STDIN which accepts data inline, over a normal connection.

Re:Show HN: Import CSV and JSON into PostgreSQL the Easy Way by elchief on Tuesday August 25, 2015 @02:45PM (#10118674)
You can use `\COPY` in PSQL remotely and without superuser privileges