PostgreSQL COPY FROM PROGRAM Command Execution
Installations running Postgres 9.3 and above...
Apple