connect to postgres from shell scripts

From: Hemapriya <priyam_1121(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: connect to postgres from shell scripts
Date: 2005-08-22 15:42:46
Message-ID: 20050822154246.28488.qmail@web34210.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I would like to know how to connect to postgres from
shell scripts using a password protected user.

Is there a way to embed the password in psql login.
It keeps prompting for the passwords.

Any hint is appreciated.

Thanks
Priya


____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-08-22 15:56:39 Re: sleep?
Previous Message Alvaro Herrera 2005-08-22 15:09:28 Re: regenereate data/ locales