BUG #15135: Feature-Request: extend error-message if value is too long - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #15135: Feature-Request: extend error-message if value is too long
Date
Msg-id 152233670201.6324.10448724848705907683@wrigleys.postgresql.org
Whole thread Raw
List pgsql-bugs
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.


pgsql-bugs by date:

Previous
From: Stefan Krüger
Date:
Subject: Re: BUG #15133: make check fails
Next
From: PG Bug reporting form
Date:
Subject: BUG #15136: gin index not used when using column with a where clause