On Thu, Mar 25, 2004 at 04:21:16 +0000, Victor Sudakov <[EMAIL PROTECTED]> wrote: > Colleagues, > > If I have to organize an automatic nightly pg_dumpall, how do I handle > authentication ? I do not want to create a passwordless superuser (or > trust method in pg_hba.conf), and there is noone to enter the password > manually. Is there another recipe?
Who do you trust? If you trust the system account that pg_dump is running under (and if you don't you have problems) and pg_dump is being run on the same machine as the postgres server, use a domain socket connection and ident authentication. This doesn't work on all OS's, but in works on a number of common ones. ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings