pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dima <_pppp@mail.ru>
To: pgsql-admin@postgresql.org
Subject: dumping a password-protected db from a perl script or a binary
Date: Mon, 04 Nov 2002 16:32:38 +0300
Message-ID: <3DC676F6.9060900@mail.ru> (raw)

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.





view thread (4+ messages)  latest in thread

Message-ID: <3DC676F6.9060900@mail.ru>
Permalink:  ../3DC676F6.9060900@mail.ru/
Also on:    postgresql.org/message-id/3DC676F6.9060900@mail.ru

 · 

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: _pppp@mail.ru
  Subject: Re: dumping a password-protected db from a perl script or a binary
  In-Reply-To: <3DC676F6.9060900@mail.ru>
  References: <3DC676F6.9060900@mail.ru>

* 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