Hi Navnath,
You have compared the column's internal size with the length of the value
given by the user.
For example, column having integer would have internal size 4 and if I give
the value 12121 which is the correct input for the field will fail here
because as per your logic column internal size (4) < len(value) (5).
I think this implementation is not correct here.
Thanks,
Khushboo
On Tue, Apr 14, 2020 at 4:33 PM navnath gadakh <
navnath(dot)gadakh(at)enterprisedb(dot)com> wrote:
> Hello Hackers,
> Please find the attached patch for below fixes:
>
> - Added validation for table row data that should not be larger than the
> field size.
> - Rearrange the existing functions to add validation.
> - Added test cases.
>
> Regards,
> Navnath Gadakh
>
>