From: Rainer Leo <leo@workfile.de>
To: pgsql-jdbc@postgresql.org
Subject: error code invalid_input_syntax
Date: Thu, 12 Jan 2006 01:05:28 +0100
Message-ID: <787226001.20060112010528@workfile.de> (raw)
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
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-jdbc@postgresql.org
Cc: leo@workfile.de
Subject: Re: error code invalid_input_syntax
In-Reply-To: <787226001.20060112010528@workfile.de>
References: <787226001.20060112010528@workfile.de>
* 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