Skip site navigation (1) Skip section navigation (2)

how to pass the password value in single statement.

From: "mallikarjun(dot)revgond" <mallikarjun(dot)revgond(at)valtech(dot)co(dot)in>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: how to pass the password value in single statement.
Date: 2005-12-15 04:59:34
Message-ID: (view raw or whole thread)
Lists: pgsql-novice



I want to run a .sql file through a batch file  such as below


psql -f C:\test\test.sql testdb postgres


when I run this batch file the, command prompt will request for  db
password, so my problem is how can I pass the password value in a single
statement of psql command


please any body help in this regard

thanks in advance





Mallikarjun Revgond

#30/A, First Main Road, J.P.Nagar, Third Phase, 

Opposite Jayadeva Hospital, Bangalore 560 078
Off: 80-26079000 Ext 9736| Mob:   9448200569



pgsql-novice by date

Next:From: Bruno Wolff IIIDate: 2005-12-15 06:10:51
Subject: Re: GUID function in pgsql?
Previous:From: meDate: 2005-12-15 04:59:30
Subject: GUID function in pgsql?

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group