Re: problems dumping from one server 2 another - Mailing list pgsql-general

From Richard Huxton
Subject Re: problems dumping from one server 2 another
Date
Msg-id 200401092321.16741.dev@archonet.com
Whole thread Raw
In response to problems dumping from one server 2 another  (Victor Spång Arthursson <victor@tosti.dk>)
Responses Re: problems dumping from one server 2 another  (Victor Spång Arthursson <victor@tosti.dk>)
List pgsql-general
On Friday 09 January 2004 14:38, Victor Spång Arthursson wrote:
> Hi!
>
> Can't get the
>
> sudo -u user1 /usr/local/bin/pg_dump db1 | /usr/local/bin/psql -U user2
> -h host2 db2
>
> to work.
>
> Only thing that happens is that I get multiple passwordprompts, and
> then I gets told that the password is incorrect…

You probably want a .pgpass file - see the section on libpq in the manuals
(client interfaces / libpq / files)

--
  Richard Huxton
  Archonet Ltd

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: ERROR: Cannot insert a duplicate key into unique index pg_class_relname_nsp_index
Next
From: "Aurangzeb M. Agha"
Date:
Subject: Re: no space left on device