Added check for PostgrSQL database driver.