[postgis-users] pgsql2shp password

Matthieu DESILE matthieu.desile at free.fr
Fri Jul 28 07:34:58 PDT 2006


On 07:24 Fri 28 Jul     , Amit Kulkarni wrote:
> Doesn't this utility usually need a password?
> 
> I have been using this as
> 
> pgsql2shp -upostgres -f dump.shp database table
> 
> and it works fine (running on localhost). But it doesn't ask me for a
> password?

	it should be the same behaviour than with psql : it is based on 
	the definition for local in pg_hba.conf.
	If you do :

$psql -U postgres database

	does it ask you a password ?

Matthieu




More information about the postgis-users mailing list