Ashish Karalkar wrote: > The batch file is run under postgres user, also owner of the pgpass.conf > file is postgres. > As far as my knowledge the permission checking is not done on windows > anyways the owner is same so i dont think there is any problem of > permission > OK - have you tried 127.0.0.1 instead of localhost in the pgpass file? > "The permissions on .pgpass must disallow any access to world or group; > achieve this by the command chmod 0600 ~/.pgpass. If the permissions are > less strict than this, the file will be ignored. (The file permissions > are not currently checked on Microsoft Windows, however.)" > That's referring to the checks we do on *nix to ensure the file is secure enough, rather than whether or not the client program can read it which is what Rod was suggesting I think. The Windows ACL model is sufficiently more complex that doing that check is far harder than it is on *nix, and the Application Data directory should be secure anyway (unless you're using FAT32, but then there's no helping you anyway :-) ). Regards, Dave