Guest User

Untitled

a guest
Nov 29th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. ogr2ogr -f CSV output.csv PG:"host=myhost port=5432 user='postgres' password='mypassword' dbname='mydb'" "myschema.mytable"
  2.  
  3. ERROR 1: PQconnectdb failed.
  4. invalid connection option ""host"
  5.  
  6. FAILURE:
  7. Unable to open datasource `PG:"host=myhost' with the following drivers.
  8.  
  9. apt-get install gdal-bin
  10.  
  11. # ogr2ogr --version
  12. GDAL 1.11.3, released 2015/09/16
Add Comment
Please, Sign In to add comment