Hi, Could you try this patch ? https://gist.github.com/3032386 You can also try to add just before the pg_connect() a line with die($connection_string); and see if the passord is correctly set and given to postgres. Thanks, Regards,