pg_dump

From: "Viorel Dragomir" <bigchief(at)vio(dot)ro>
To: <pgsql-general(at)postgresql(dot)org>
Subject: pg_dump
Date: 2003-07-16 08:48:29
Message-ID: 022301c34b77$07e622e0$0600a8c0@fix.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there a way to dump all database contents using pg_dump for a custom user.
Something like:
pg_dump --user=user_name --password=password database
where user_name is any user granted to access this database with all the rights.

The problem is pg_dump has an option --password, but it's interactive and i need to launch the command from a php script.

thx.

Note that mysqldump has this kind of options.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Reynard Hilman 2003-07-16 11:11:50 how to get table information from php client ?
Previous Message Martijn van Oosterhout 2003-07-16 05:26:20 Re: perfromance impact of vacuum