X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 4297E9DC882 for ; Wed, 11 Jan 2006 20:11:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21053-09 for ; Wed, 11 Jan 2006 20:11:15 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 4B9EF9DC833 for ; Wed, 11 Jan 2006 20:11:10 -0400 (AST) Received: from podomo.han-solo.net (podomo.han-solo.net [83.138.66.196]) by svr4.postgresql.org (Postfix) with ESMTP id DDFD05AF04B for ; Thu, 12 Jan 2006 00:11:13 +0000 (GMT) Received: from merkur (p548E224E.dip0.t-ipconnect.de [84.142.34.78]) (authenticated bits=0) by podomo.han-solo.net (8.13.5/8.12.9) with ESMTP id k0C0B9jW001419 for ; Thu, 12 Jan 2006 01:11:09 +0100 X-KSD: Date: Thu, 12 Jan 2006 01:05:28 +0100 From: Rainer Leo X-Mailer: The Bat! (v3.60.07) Professional Reply-To: Rainer Leo Organization: workfile Datenbankservice X-Priority: 3 (Normal) Message-ID: <787226001.20060112010528@workfile.de> To: pgsql-jdbc@postgresql.org Subject: error code invalid_input_syntax MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/53 X-Sequence-Number: 14504 I wrote a function which generates SQL statements for INSERTs and UPDATEs, in which I cast the values to the correct datatype. Now I want to catch ERROR: invalid input syntax for integer: "i" but although I tried quite a few I can't find the right error code for this exception. Is it possible that this error can not be caught? Thanks Leo