Data Type Conversion In Postgresql