pg_dump and pg_restore in batch scripts

Tim Penhey <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
I read somewhere an example of how to do pg_dump and pg_restore on *nix 
so as to not have it ask for a password, but is there any way in the 
Win32 environment to do this?

What I am actually trying to do is to get a java servlet to execute the 
dump command and return through http the dumped file.  Once that works 
it will be to upload the file to the servlet and execute the restore 
command.  The java servlet will have the username and password to the 
database for the jdbc connection.

Thanks,
Tim


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [email protected])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.