The following bug has been logged online:
Bug reference: 2181
Logged by: Thomas Goerner
Email address: tg(at)clickware(dot)de
PostgreSQL version: 8.1
Operating system: WinXP
Description: Bug in SQLNumResultCols
Details:
calling SQLNumResultCols on a hstmt that has been executed previously and
then closed using SQLFreeStmt(m_hstmt, SQL_CLOSE) (MFC's
CRecordset::Requery() does this) re-executes the statement.
ODBC driver version is 8.01.01.02.