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 44346EFF9B for ; Fri, 6 Jun 2003 14:50:47 +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 20181-03 for ; Fri, 6 Jun 2003 14:50:45 +0000 (GMT) Received: from www.postgresql.com (www.postgresql.com [64.117.225.209]) by svr1.postgresql.org (Postfix) with ESMTP id E12A7F012D for ; Fri, 6 Jun 2003 14:47:59 +0000 (GMT) Received: from irko.smoothcorp.com (unknown [208.49.241.41]) by www.postgresql.com (Postfix) with ESMTP id 9A321CF82E2 for ; Thu, 5 Jun 2003 20:22:22 +0000 (GMT) Received: from jgardner.ifloor.com ([10.0.1.63]) by irko.smoothcorp.com with esmtp (Exim 4.12) id 19O1Cb-0004JZ-00; Thu, 05 Jun 2003 13:19:13 -0700 Received: from jgardner.ifloor.com (localhost.localdomain [127.0.0.1]) by jgardner.ifloor.com (8.12.8/8.12.8) with ESMTP id h55KJErW005082; Thu, 5 Jun 2003 13:19:14 -0700 Received: from localhost (localhost [[UNIX: localhost]]) by jgardner.ifloor.com (8.12.8/8.12.8/Submit) id h55KJ9lA005080; Thu, 5 Jun 2003 13:19:09 -0700 From: Jonathan Gardner To: stephen@cass-ltd.co.uk, pgsql-admin@postgresql.org Subject: Re: Urgent: Restoring many schemas in a database Date: Thu, 5 Jun 2003 13:18:54 -0700 User-Agent: KMail/1.5 References: <200306051149.32063.stephen@cass-ltd.co.uk> In-Reply-To: <200306051149.32063.stephen@cass-ltd.co.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200306051319.09566.jgardner@jonathangardner.net> X-SA-Exim-Rcpt-To: stephen@cass-ltd.co.uk, pgsql-admin@postgresql.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false X-Archive-Number: 200306/50 X-Sequence-Number: 9041 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 05 June 2003 03:49, Stephen J. Thompson wrote: > 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 t= he > 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 1= 00 > connect statements). > Put a .pgpass file in the home directory of the user. It should have a line: *:*:*:: - --=20 Jonathan Gardner (was jgardn@alumni.washington.edu) Live Free, Use Linux! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+36W3WgwF3QvpWNwRAnvkAJ4zcFGBMemqGRqYTRTdcPQTZqUvwACeMmIn Lgiq5VrDOowcpmdSbn5EtDU=3D =3DLdm6 -----END PGP SIGNATURE-----