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

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: therealhawk(at)freenet(dot)de
Subject: BUG #15135: Feature-Request: extend error-message if value is too long
Date: 2018-03-29 15:18:22
Message-ID: 152233670201.6324.10448724848705907683@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 15135
Logged by: Al Bundy
Email address: therealhawk(at)freenet(dot)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.

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2018-03-29 20:42:00 BUG #15136: gin index not used when using column with a where clause
Previous Message Stefan Krüger 2018-03-29 07:09:57 Re: BUG #15133: make check fails