Thread: BUG #15135: Feature-Request: extend error-message if value is too long

BUG #15135: Feature-Request: extend error-message if value is too long

From
PG Bug reporting form
Date:
The following bug has been logged on the website:

Bug reference:      15135
Logged by:          Al Bundy
Email address:      therealhawk@freenet.de
PostgreSQL version: Unsupported/Unknown
Operating system:   independent
Description:

Instead of such an error: org.postgresql.util.PSQLException: ERROR: value
too long for type character varying(255)

it would be nice to see at least the column-name in the message.
Maybe also the value and it's current length.

This would really help to find wrong values in large statements.