pgpass.conf - Mailing list pgsql-general

From Ashish Karalkar
Subject pgpass.conf
Date
Msg-id 001401c7c2c6$90c59710$170211ac@LIONKING.COM
Whole thread Raw
Responses Re: pgpass.conf  (Raymond O'Donnell <rod@iol.ie>)
Re: pgpass.conf  (Dave Page <dpage@postgresql.org>)
List pgsql-general
Hello All,
 
I am trying tu run a script to create database from a batch programme and dont want to supply password everytime.
So i tried to setup pgpass.conf file.
File is kept in user profile/application data
i.e
C:\Documents and Settings\postgres\Application Data\postgresql\pgpass.conf
 
file contains:
 
localhost:5432 :*:postgres:mypass
localhost:5432:qsweb:qsweb:mypass1
 
Still the batch asks for the password.!!!
 I am just not getting why its not reading password from pgpass file.
 
can anyone please figure out what is going wrong.
 
Thanks in Advance
Ashish...
 
 
 
 
 
 
 
 

pgsql-general by date:

Previous
From: Hannes Dorbath
Date:
Subject: Re: Postgres 8.2 binary for ubuntu 6.10?
Next
From: Laurent ROCHE
Date:
Subject: Re : Postgres 8.2 binary for ubuntu 6.10?