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

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 (view raw or flat)
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

pgsql-admin by date

Next:From: Tom LaneDate: 2005-08-22 15:56:39
Subject: Re: sleep?
Previous:From: Alvaro HerreraDate: 2005-08-22 15:09:28
Subject: Re: regenereate data/ locales

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