pgsql2shp -h localhost -u postgres -P password -p 5432 -f d:\export_out.shp smartwatergdb export_output2