pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hemapriya <priyam_1121@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: connect to postgres from shell scripts
Date: Mon, 22 Aug 2005 08:42:46 -0700 (PDT)
Message-ID: <20050822154246.28488.qmail@web34210.mail.mud.yahoo.com> (raw)

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 
 



view thread (5+ messages)  latest in thread

Message-ID: <20050822154246.28488.qmail@web34210.mail.mud.yahoo.com>
Permalink:  ../20050822154246.28488.qmail@web34210.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20050822154246.28488.qmail@web34210.mail.mud.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: priyam_1121@yahoo.com
  Subject: Re: connect to postgres from shell scripts
  In-Reply-To: <20050822154246.28488.qmail@web34210.mail.mud.yahoo.com>
  References: <20050822154246.28488.qmail@web34210.mail.mud.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox