X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id C5982EFF73 for ; Thu, 5 Jun 2003 14:50:32 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 91777-06 for ; Thu, 5 Jun 2003 14:50:31 +0000 (GMT) Received: from rtlocal.trade-india.com (mail-relay.trade-india.com [203.196.129.235]) by svr1.postgresql.org (Postfix) with SMTP id 2F826EFEAD for ; Thu, 5 Jun 2003 14:50:28 +0000 (GMT) Received: (qmail 20559 invoked from network); 5 Jun 2003 14:55:07 -0000 Received: from unknown (HELO trade-india.com) (unknown) by unknown with SMTP; 5 Jun 2003 14:55:07 -0000 Received: (qmail 8340 invoked by uid 505); 5 Jun 2003 14:50:22 -0000 Received: from mallah@trade-india.com by ns1.trade-india.com by uid 502 with qmail-scanner-1.16 (clamscan: 0.54. spamassassin: 2.54. Clear:SA:0(-100.1/5.0):. Processed in 0.519619 secs); 05 Jun 2003 14:50:22 -0000 Received: from ns1.trade-india.com (HELO trade-india.com) (66.234.10.14) by ns1.trade-india.com with SMTP; 5 Jun 2003 14:50:22 -0000 Received: from 219.65.253.151 (SquirrelMail authenticated user mallah) by mail.trade-india.com with HTTP; Thu, 5 Jun 2003 20:20:22 +0530 (IST) Message-ID: <1149.219.65.253.151.1054824622.squirrel@mail.trade-india.com> Date: Thu, 5 Jun 2003 20:20:22 +0530 (IST) Subject: Re: Urgent: Restoring many schemas in a database From: To: In-Reply-To: <200306051149.32063.stephen@cass-ltd.co.uk> References: <200306051149.32063.stephen@cass-ltd.co.uk> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Archive-Number: 200306/23 X-Sequence-Number: 9014 Hi, have you considered the option of putting "trust" as auhentication in pg_hba.conf already. other option is to user .pgpass file but i am not sure of the exact details regds mallah. > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello all, > > I am trying to restore a 7.3 database with many schemas and schema users in it. The issue I am > having is that there are many \connect statements in the backup file and it keeps asking me > for a new password each time. Is there an easier way than examining the file and carefully > following the connect statement orders and entering the correct password. (btw there are over > 100 connect statements). > > Thanks. > > > Stephen. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+3yA7DAwPLUWQb6sRAn27AJ9TgcQ8BNqStKA6WKGpV3+De26m5wCgnHas > 5jBZaAp/3NchLvRpof14emU=Z9On > -----END PGP SIGNATURE----- > > > ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and > unsubscribe commands go to majordomo@postgresql.org ----------------------------------------- Get your free web based email at trade-india.com. "India's Leading B2B eMarketplace.!" http://www.trade-india.com/