Attached is the patch to fix the data truncation issue when updating the data of the type character with length. To fix this issue I have created a ignore type cast list, where while inserting/updating we ignore the typecasting for the mentioned data type.
Added test cases for character and bit Data Type.
Please review it.
--
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246
--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune