added PostgreSQL database checks