pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: therealhawk@freenet.de
Subject: BUG #15135: Feature-Request: extend error-message if value is too long
Date: Thu, 29 Mar 2018 15:18:22 +0000
Message-ID: <152233670201.6324.10448724848705907683@wrigleys.postgresql.org> (raw)

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.



Message-ID: <152233670201.6324.10448724848705907683@wrigleys.postgresql.org>
Permalink:  ../152233670201.6324.10448724848705907683@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/152233670201.6324.10448724848705907683@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, therealhawk@freenet.de
  Subject: Re: BUG #15135: Feature-Request: extend error-message if value is too long
  In-Reply-To: <152233670201.6324.10448724848705907683@wrigleys.postgresql.org>
  References: <152233670201.6324.10448724848705907683@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox