pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #7666: Unkown column name on error message 2+ messages / 2 participants [nested] [flat]
* BUG #7666: Unkown column name on error message @ 2012-11-16 13:47 robsonr.alencar@gmail.com 0 siblings, 1 reply; 2+ messages in thread From: robsonr.alencar@gmail.com @ 2012-11-16 13:47 UTC (permalink / raw) To: pgsql-bugs The following bug has been logged on the website: Bug reference: 7666 Logged by: ROBSON Email address: robsonr.alencar@gmail.com PostgreSQL version: 9.0.0 Operating system: linux - ubuntu - pt_Br Description: 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)" Java application, using JDBC Driver for PostgreSQL: postgresql-9.1-901.jdbc4.jar The column name is needed for best debug result. ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #7666: Unkown column name on error message @ 2012-11-16 20:23 Euler Taveira <euler@timbira.com> parent: robsonr.alencar@gmail.com 0 siblings, 0 replies; 2+ messages in thread From: Euler Taveira @ 2012-11-16 20:23 UTC (permalink / raw) To: robsonr.alencar@gmail.com; +Cc: pgsql-bugs 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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2012-11-16 20:23 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2012-11-16 13:47 BUG #7666: Unkown column name on error message robsonr.alencar@gmail.com 2012-11-16 20:23 ` Euler Taveira <euler@timbira.com>
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