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: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin

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.


Start your day with Yahoo! - make it your home page 


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-2018 The PostgreSQL Global Development Group