pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Victor Yegorov <viy@pirmabanka.lv>
To: Postgres Admin <pgsql-admin@postgresql.org>
Subject: psql invokation
Date: Fri, 21 Mar 2003 16:01:45 +0200
Message-ID: <20030321140145.GE20481@pirmabanka.lv> (raw)

Hello.

Is it possible to invoke psql from a script (executed via cron) and connect
to remote server?

Actually, problem is that psql asks password and ignores any pipes I try.

Thanks.

-- 

Victor Yegorov

view thread (2+ messages)  latest in thread

Message-ID: <20030321140145.GE20481@pirmabanka.lv>
Permalink:  ../20030321140145.GE20481@pirmabanka.lv/
Also on:    postgresql.org/message-id/20030321140145.GE20481@pirmabanka.lv

 · 

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: viy@pirmabanka.lv
  Subject: Re: psql invokation
  In-Reply-To: <20030321140145.GE20481@pirmabanka.lv>
  References: <20030321140145.GE20481@pirmabanka.lv>

* 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