[gdal-dev] Re: Trouble connecting to PostGIS db

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Fri Oct 3 15:58:27 EDT 2008


Lähettäjä: Jose Gomez-Dans 

> Hi,

> 2008/10/3 Jukka Rahkonen <jukka.rahkonen at mmmtike.fi>

>> > $ ogrinfo --debug on -ro 'PG:host=HOST user=USER password=PASSWORD
>> port=5432
>> dbname=DBNAME'
>>
>> Try using " " around the connection string, instead of ' '.


> Nope, that doesn't change a thing. I am realising that my geometry_columns
> table is empty, maybe this is where the problem lies?

May be.  However, quotes seem to make difference on both my Windows XP and Windows Vista: Single quotes are yielding the same message that you got, while double quotes are working.

-Jukka-


More information about the gdal-dev mailing list