Connect to postgres from a script using password - Mailing list pgsql-admin

From Hemapriya
Subject Connect to postgres from a script using password
Date
Msg-id 20040708160730.73409.qmail@web21326.mail.yahoo.com
Whole thread Raw
Responses Re: Connect to postgres from a script using password
Re: Connect to postgres from a script using password
List pgsql-admin
Hi,

Can anyone tell me how to connect to postgres from a
shell script using password. If i use psql -UUser db
-W option it prompts for password everytime..
Is there anyway we can have the password included in
psql login command.?

Thanks
Priya



__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

pgsql-admin by date:

Previous
From: Guido Barosio
Date:
Subject: Strange scenary.
Next
From: "erdenemandal"
Date:
Subject: