[pgAdmin4][Patch] - RM 5481 update is truncating data for type character with length

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][Patch] - RM 5481 update is truncating data for type character with length
Date: 2020-05-25 10:14:53
Message-ID: CANxoLDedzbNE0gqKeagC4HJjKD8rBFbhHCJv-Qac6oiMrE_Z3Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

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*

Attachment Content-Type Size
RM_5481.patch application/octet-stream 43.8 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Aditya Toshniwal 2020-05-25 11:23:37 Re: [pgAdmin4][Patch] - RM 5481 update is truncating data for type character with length
Previous Message Akshay Joshi 2020-05-25 05:55:47 Re: Translators: Release next week