The following bug has been logged online: Bug reference: 2181 Logged by: Thomas Goerner Email address: [EMAIL PROTECTED] 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. ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq