pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: pg_dump command inside shell scripts
Date: Tue, 8 Oct 2002 15:04:29 +0100
Message-ID: <200210081504.29059.dev@archonet.com> (raw)
In-Reply-To: <A799F7647794D311924A005004ACEA9708A246A4@cprodamibs249.prodam>
References: <A799F7647794D311924A005004ACEA9708A246A4@cprodamibs249.prodam>

On Tuesday 08 Oct 2002 2:35 pm, Elielson Fontanezi wrote:
> Hi Folks!
>
>     Again I need a help from you!
>
>     I have develop a shell script (seen below) to do dump and vaccum
> automatically.

>     But now I need change the $PGDATA/*hba.conf file as it was originally
> and
> face the password prompt again.

Do a search on "expect" - probably included with your system and designed for 
this sort of interactive chatting (traditionally with a modem). There's also 
a perl module to do the same.

- Richard Huxton



view thread (4+ messages)  latest in thread

Message-ID: <200210081504.29059.dev@archonet.com>
Permalink:  ../200210081504.29059.dev@archonet.com/
Also on:    postgresql.org/message-id/200210081504.29059.dev@archonet.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: dev@archonet.com, ElielsonF@prodam.sp.gov.br, pgsql-general@postgresql.org
  Subject: Re: pg_dump command inside shell scripts
  In-Reply-To: <200210081504.29059.dev@archonet.com>
  References: <A799F7647794D311924A005004ACEA9708A246A4@cprodamibs249.prodam> <200210081504.29059.dev@archonet.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