Re: problems dumping from one server 2 another

From: Richard Huxton <dev(at)archonet(dot)com>
To: Victor Spång Arthursson <victor(at)tosti(dot)dk>, pgsql-general(at)postgresql(dot)org
Subject: Re: problems dumping from one server 2 another
Date: 2004-01-09 23:21:16
Message-ID: 200401092321.16741.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Aurangzeb M. Agha 2004-01-09 23:22:17 Re: no space left on device
Previous Message Tom Lane 2004-01-09 23:19:00 Re: ERROR: Cannot insert a duplicate key into unique index pg_class_relname_nsp_index