Importing data from postgres

/usr/local/Cellar/postgresql/10.2/bin/psql -d test -P format=unaligned -P tuples_only -P fieldsep=, -c “SELECT * FROM planet_osm_point” | head