X-Original-To: pgsql-admin@postgresql.org Received: from shield.pirmabanka.lv (unknown [195.114.57.4]) by postgresql.org (Postfix) with ESMTP id 5CD59474E4F for ; Fri, 21 Mar 2003 09:00:51 -0500 (EST) Received: from wall2.pirmabanka.lv (wall2-pub.pirmabanka.lv [195.114.57.14]) by shield.pirmabanka.lv (8.12.8/8.9.3) with SMTP id h2LE0rtw004213 for ; Fri, 21 Mar 2003 16:00:53 +0200 Received: from share.pirmabanka.lv ([10.0.0.10]) by wall2.pirmabanka.lv; Fri, 21 Mar 2003 16:00:52 +0200 (EET) Received: from pc311x1.pirmabanka.lv (localhost.localdomain [127.0.0.1]) by pirmabanka.lv (8.11.6/8.11.6) with SMTP id h2LE0qx05427 for ; Fri, 21 Mar 2003 16:00:52 +0200 Received: (qmail 22036 invoked by uid 100); 21 Mar 2003 14:01:45 -0000 Date: Fri, 21 Mar 2003 16:01:45 +0200 From: "Victor Yegorov" To: "Postgres Admin" Subject: psql invokation Message-ID: <20030321140145.GE20481@pirmabanka.lv> Mail-Followup-To: "Postgres Admin" Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d8Lz2Tf5e5STOWUP" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Archive-Number: 200303/339 X-Sequence-Number: 7979 --d8Lz2Tf5e5STOWUP Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. --=20 Victor Yegorov --d8Lz2Tf5e5STOWUP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+extJ2RKGLEykUDYRApuMAJ47gVPjnn9CiCLgq4D+daSpiERzTwCfV8jP lsNL9NkMh2jOQGYSxir7KcY= =1xD0 -----END PGP SIGNATURE----- --d8Lz2Tf5e5STOWUP--