[Gdal-dev] RE: password-enabled postgres databases

Cgeorges cgeorges at CSO.Net
Mon Oct 30 04:05:41 EST 2006


Hi again,

you better look twice!

For all who are interested in a solution:
ogrinfo -ro PG:'host=myhost user=postgis dbname=mydb password=mypw'
works perfectly!

Just a hint: I couldn't find any reference to the 'password' option
in the postgres driver documentation (drv_pg.html).

Thanks anyhow,
Christian

--------- Original-Nachricht --------

Von: Cgeorges <cgeorges at CSO.Net>

An: gdal-dev at lists.maptools.org <gdal-dev at lists.maptools.org>

Betreff: password-enabled postgres databases

Datum: 30/10/06 09:27



> Hi all,
>
> any chances to provide postgres a login password?
>
> I am thinking of something like:
> ogrinfo -ro PG:'host=myhost user=postgis dbname=mydb pass=mypw'
>
> If not:
> Are there any workarounds to deal with password-enabled postgres
databases?
>
>
> Thanks in advance,
> christian Georges
>
> _________________________________________________________________
> E-Mail
> versendet via WebMail von CSO.Net Austria
>
>
>
>
> 

_________________________________________________________________
E-Mail
versendet via WebMail von CSO.Net Austria




More information about the Gdal-dev mailing list