pg_dump - Mailing list pgsql-general

From Viorel Dragomir
Subject pg_dump
Date
Msg-id 022301c34b77$07e622e0$0600a8c0@fix.ro
Whole thread Raw
Responses Re: pg_dump  (Frank Finner <postgresql@finner.de>)
List 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.

pgsql-general by date:

Previous
From: brice
Date:
Subject: Horrible pg_restore performance, please help
Next
From: "Mike Quinn"
Date:
Subject: Re: [BUGS] pg_tables view definition incorrect??