BUG #8880: no indication of value when exceeded maximum length - Mailing list pgsql-bugs

From mlipchuk@redhat.com
Subject BUG #8880: no indication of value when exceeded maximum length
Date
Msg-id 20140119161139.26703.79206@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #8880: no indication of value when exceeded maximum length  (Bruce Momjian <bruce@momjian.us>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      8880
Logged by:          Maor Lipchuk
Email address:      mlipchuk@redhat.com
PostgreSQL version: 9.2.3
Operating system:   Fedora 18
Description:

When trying to insert a varchar value in a limited column which exceed the
column limitation, we get an error of "value too long for type
character(%d)).
e.g varchar(5) --> value of 6 character "123456"

There is no indication which value exceeded the limitation and for big
tables it is almost impossible to indicate the specific exceeded value.

pgsql-bugs by date:

Previous
From: Boszormenyi Zoltan
Date:
Subject: Re: BUG #8893: Precompiler ECPG doesn't check Var-List in Select corrrect.
Next
From: Tom Lane
Date:
Subject: Re: BUG #8893: Precompiler ECPG doesn't check Var-List in Select corrrect.