Better PostgreSQL conf + table check scripts