pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonathan Gardner <jgardner@jonathangardner.net>
To: stephen@cass-ltd.co.uk
To: pgsql-admin@postgresql.org
Subject: Re: Urgent: Restoring many schemas in a database
Date: Fri, 6 Jun 2003 14:11:21 -0700
Message-ID: <200306061411.22752.jgardner@jonathangardner.net> (raw)
In-Reply-To: <200306051149.32063.stephen@cass-ltd.co.uk>
References: <200306051149.32063.stephen@cass-ltd.co.uk>

-----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 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).
>

Try ~/.pgpass with one line:
*:*:*:<username>:<password>

- -- 
Jonathan Gardner <jgardner@jonathangardner.net>
(was jgardn@alumni.washington.edu)
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+4QN5WgwF3QvpWNwRAuzdAJwJUYr/aabryj1ZyvfeLrgcMBJGGwCgk7FC
itynkuB0XX3Y6VgqGzTayA8=
=wdgM
-----END PGP SIGNATURE-----



view thread (7+ messages)

Message-ID: <200306061411.22752.jgardner@jonathangardner.net>
Permalink:  ../200306061411.22752.jgardner@jonathangardner.net/
Also on:    postgresql.org/message-id/200306061411.22752.jgardner@jonathangardner.net

 · 

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: jgardner@jonathangardner.net, stephen@cass-ltd.co.uk
  Subject: Re: Urgent: Restoring many schemas in a database
  In-Reply-To: <200306061411.22752.jgardner@jonathangardner.net>
  References: <200306051149.32063.stephen@cass-ltd.co.uk> <200306061411.22752.jgardner@jonathangardner.net>

* 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