dumping a password-protected db from a perl script or a binary

From: dima <_pppp(at)mail(dot)ru>
To: pgsql-admin(at)postgresql(dot)org
Subject: dumping a password-protected db from a perl script or a binary
Date: 2002-11-04 13:32:38
Message-ID: 3DC676F6.9060900@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

How can i dump a password-protected database using perl (DBI or pg) or C
(using libpq)? I can't pass the password to pg_dump utility (I was
trying to pass it via tty also) when running system() from perl.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Eric Comeau 2002-11-04 15:06:59 Re: HA for high insert volume
Previous Message Ludwig Lim 2002-11-04 06:29:30 Logging RAISE statement to a logfile aside from syslog