added date, char and smallint types for pg

I've added support for date type in pg driver.