Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TZSRb-0003EE-E0 for pgsql-bugs@postgresql.org; Fri, 16 Nov 2012 20:23:19 +0000 Received: from oproxy8-pub.bluehost.com ([69.89.22.20]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TZSRZ-0004sl-Q0 for pgsql-bugs@postgresql.org; Fri, 16 Nov 2012 20:23:18 +0000 Received: (qmail 11790 invoked by uid 0); 16 Nov 2012 20:23:16 -0000 Received: from unknown (HELO host159.hostmonster.com) (74.220.207.159) by oproxy8.bluehost.com with SMTP; 16 Nov 2012 20:23:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=timbira.com; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=IZD22BPliijacX9uG4/GrK2jsAuhZqXCDwSK4SavHNg=; b=Xc+ZKJmGVqK1g9OAKw3Tb/Bu0lQb0StjAPhASO/jpz8M8b/AwFK6ii6AwoJKpkR4S7kW38+MZC31NUIho9j8AI/tzTOQzVXPn1RtbmAPC4ZwvEDBTrIpK0m9N+llNjVv; Received: from [189.31.15.82] (port=64018 helo=[10.3.2.3]) by host159.hostmonster.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1TZSRX-0000jL-VY; Fri, 16 Nov 2012 13:23:16 -0700 Message-ID: <50A6A0B1.1070102@timbira.com> Date: Fri, 16 Nov 2012 18:23:13 -0200 From: Euler Taveira User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121027 Icedove/10.0.10 MIME-Version: 1.0 To: robsonr.alencar@gmail.com CC: pgsql-bugs@postgresql.org Subject: Re: BUG #7666: Unkown column name on error message References: In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Identified-User: {1651:host159.hostmonster.com:timbirac:timbira.com} {sentby:smtp auth 189.31.15.82 authed with euler@timbira.com} X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201211/97 X-Sequence-Number: 34655 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