error code invalid_input_syntax - Mailing list pgsql-jdbc

From Rainer Leo
Subject error code invalid_input_syntax
Date
Msg-id 787226001.20060112010528@workfile.de
Whole thread Raw
Responses Re: error code invalid_input_syntax
List pgsql-jdbc
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



pgsql-jdbc by date:

Previous
From: Takeichi Kanzaki Cabrera
Date:
Subject: reading an oidvector field error
Next
From: Kris Jurka
Date:
Subject: Re: error code invalid_input_syntax