fix data type casting in postgresql
bump version