Re: Error messages not always reported through the ODBCdriver -STATEMENT ERROR missing

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Kristis Makris <kristis(dot)makris(at)datasoft(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Error messages not always reported through the ODBCdriver -STATEMENT ERROR missing
Date: 2001-08-29 09:10:34
Message-ID: 3B8CB18A.DF1D3D2B@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Gilles DAROLD 2001-08-29 12:55:22 Re: Problem with libpsqlodbc
Previous Message Hiroshi Inoue 2001-08-28 23:47:02 Re: Problem with libpsqlodbc