added date type for pg
added char and smallint types for pg
added char, date and smallint into mapDataType in base.js
added date, char and smallint types for pg