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…
Would appreciate quick help,
sincerely
Victor Spång Arthursson
Copenhagen, Denmark and Malmoe, Sweden
---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?
http://archives.postgresql.org