adding postgreSQL support