Clay, Bruce <bclay <at> ball.com> writes:

> 
> L:\SupportLibraries\gdal-1.7.1\bin\release>ogrinfo -ro
> PG:"host=<hostname> user=postgres password=<pwd>"
> FAILURE:
> Unable to open datasource `PG:host=<hostname> user=postgres
> password=<pwd>'

You forgot to give dbname.

This works for sure for me from Windows:

orginfo -ro PG:"dbname=postgis host=localhost port=5432 user=username
password=password"

-Jukka Rahkonen-




_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to