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

Started by PG Bug reporting formabout 8 years ago1 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

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.