pgpass.conf

From: "Ashish Karalkar" <ashish(dot)karalkar(at)info-spectrum(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: pgpass.conf
Date: 2007-07-10 07:47:21
Message-ID: 001401c7c2c6$90c59710$170211ac@LIONKING.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support 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...

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Marcin Zajączkowski 2007-07-10 08:59:35 Re: pgadmin 1.6.3 - segmentation fault
Previous Message Art Fore 2007-07-05 05:30:53 Syncronization of two databases

Browse pgsql-general by date

  From Date Subject
Next Message Laurent ROCHE 2007-07-10 08:13:07 Re : Postgres 8.2 binary for ubuntu 6.10?
Previous Message Hannes Dorbath 2007-07-10 07:13:15 Re: Postgres 8.2 binary for ubuntu 6.10?