Re: BUG #7666: Unkown column name on error message

From: Euler Taveira <euler(at)timbira(dot)com>
To: robsonr(dot)alencar(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7666: Unkown column name on error message
Date: 2012-11-16 20:23:13
Message-ID: 50A6A0B1.1070102@timbira.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 16-11-2012 11:47, robsonr(dot)alencar(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Euler Taveira 2012-11-16 20:30:57 Re: BUG #7667: Segmentation fault
Previous Message Tom Lane 2012-11-16 15:13:11 Re: BUG #7664: Program using libpq and ecpglib can not output native language