Re: Error messages not always reported through the ODBCdriver -STATEMENT ERROR missing - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Error messages not always reported through the ODBCdriver -STATEMENT ERROR missing
Date
Msg-id 3B8CB18A.DF1D3D2B@tpf.co.jp
Whole thread Raw
In response to Error messages not always reported through the ODBC driver - STATEMENT ERROR missing  (Kristis Makris <kristis.makris@datasoft.com>)
List pgsql-odbc
I wrote:
>
> Kristis Makris wrote:

[snip]

> >
> > However, I'm still  unable to capture an exception. Program execution
> > goes past the ExecuteSQL(), past the CommitTrans(), and skips over the
> > catch block. Isn't that bizzare?
>
> I found that CommitTrans() doesn't throw an exception.
> You may have to check the return code of CommitTrans().

Note that *commit* could cause an ERROR in reality.

>
> Too late detection of an error is another issue.
> I'm examining it.

Probably I found the cause. I would commit the fix
to cvs in a day or so.

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Problem with libpsqlodbc
Next
From: Gilles DAROLD
Date:
Subject: Re: Problem with libpsqlodbc