pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Euler Taveira <euler@timbira.com>
To: robsonr.alencar@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7666: Unkown column name on error message
Date: Fri, 16 Nov 2012 18:23:13 -0200
Message-ID: <50A6A0B1.1070102@timbira.com> (raw)
In-Reply-To: <E1TZMG8-0002zj-4q@wrigleys.postgresql.org>
References: <E1TZMG8-0002zj-4q@wrigleys.postgresql.org>

On 16-11-2012 11:47, robsonr.alencar@gmail.com wrote:

[This is not a bug...]

> After trying an insert on table, a error message is provided, but the column
> name is not inserted in the message. Example:
> 
> "org.postgresql.util.PSQLException: ERRO: valor é muito longo para tipo
> character varying(20)"
> 
That message is coming from the postgres server and the details are available
to server and client.

> The column name is needed for best debug result.
> 
Why don't you look at the postgres log? Or even better enable loglevel option
in the JDBC string connection?


-- 
   Euler Taveira de Oliveira - Timbira       http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento




view thread (2+ messages)

Message-ID: <50A6A0B1.1070102@timbira.com>
Permalink:  ../50A6A0B1.1070102@timbira.com/
Also on:    postgresql.org/message-id/50A6A0B1.1070102@timbira.com

 · 

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: euler@timbira.com, robsonr.alencar@gmail.com
  Subject: Re: BUG #7666: Unkown column name on error message
  In-Reply-To: <50A6A0B1.1070102@timbira.com>
  References: <E1TZMG8-0002zj-4q@wrigleys.postgresql.org> <50A6A0B1.1070102@timbira.com>

* 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