After SQL_NEED_DATA, it's OK. But there's still the problem when calling SQLGetDiagField(SQL_HANDLE_STMT,...) after SQL_ERROR--no response and never return.
>> After returning SQL_NEED_DATA or SQL_ERROR, for example, SQLPrepare(hstmt, "", SQL_NTS) will return SQL_ERROR), calling SQLGetDiagField(SQL_HANDLE_STMT, hstmt, 0, SQL_DIAG_NUMBER, &sdNum, sizeof(sdNum), NULL) will never return and the application will be in dead loop.
>Please try the latest snapshot again.
pgsql-odbc by date
|Next:||From: Hiroshi Inoue||Date: 2002-12-03 04:01:05|
|Subject: Re: psqlodbc07.02.0006 bug report|
|Previous:||From: Hiroshi Inoue||Date: 2002-12-03 00:40:19|
|Subject: Re: Datetime and pgtypes.c|