X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 812219FB2D3 for ; Wed, 10 May 2006 00:00:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 16336-01 for ; Tue, 9 May 2006 23:59:53 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id C008F9FB3C9 for ; Tue, 9 May 2006 23:51:36 -0300 (ADT) Received: from localhost (mx1.hub.org [200.46.208.251]) by pgfoundry.org (Postfix) with ESMTP id A930A86C4D7; Wed, 10 May 2006 02:51:36 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 12736-01; Tue, 9 May 2006 23:51:32 -0300 (ADT) Received: by pgfoundry.org (Postfix, from userid 80) id E7F3286C4D8; Wed, 10 May 2006 02:51:32 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000641 ] odbc can't execute next statement after execute a bad function Content-type: text/plain; charset=UTF-8 Message-Id: <20060510025132.E7F3286C4D8@pgfoundry.org> Date: Wed, 10 May 2006 02:51:32 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/19 X-Sequence-Number: 7690 Bugs item #1000641, was opened at 2006-05-10 02:51 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000641&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: odbc can't execute next statement after execute a bad function Initial Comment: server :8.1.1 odbc :psqlodbc 8.02.00.02 test tool: odbcte32.exe after I execute a bad function select bad_func() I can't execute any statement , ODBC 's errmsg is "the cursor is open" there is odbcte32 's log as below: -------------------------------------------------------------- dbc: szSqlState = "01004", *pfNativeError = 215, *pcbErrorMsg = 27 MessageText = "the ConnStrOut is too small" Full Connect: Full Connect(Default) Env. Attr. SQL_ATTR_ODBC_VERSION set to SQL_OV_ODBC3 Successfully connected to DSN 'PostgreSQL Unicode'. SQLExecDirect: In: hstmt = 0x00C00394, szSqlStr = "select bad_func()", cbSqlStr = -3 Return: SQL_ERROR=-1 Errors All: : szSqlState = "42P01", *pfNativeError = 7, *pcbErrorMsg = 73 szErrorMsg = "ERROR: relation "notable" does not exist; Error while executing the query" desc: szSqlState = "IM001", *pfNativeError = 0, *pcbErrorMsg = 70 MessageText = "[Microsoft][ODBC Driver Manager] Driver does not support this function" desc: szSqlState = "IM001", *pfNativeError = 0, *pcbErrorMsg = 70 MessageText = "[Microsoft][ODBC Driver Manager] Driver does not support this function" desc: szSqlState = "IM001", *pfNativeError = 0, *pcbErrorMsg = 70 MessageText = "[Microsoft][ODBC Driver Manager] Driver does not support this function" desc: szSqlState = "IM001", *pfNativeError = 0, *pcbErrorMsg = 70 MessageText = "[Microsoft][ODBC Driver Manager] Driver does not support this function" SQLExecDirect: In: hstmt = 0x00C00394, szSqlStr = "select * from account", cbSqlStr = -3 Return: SQL_ERROR=-1 Errors All: : szSqlState = "HY010", *pfNativeError = 3, *pcbErrorMsg = 19 szErrorMsg = "The cursor is open." desc: szSqlState = "IM001", *pfNativeError = 0, *pcbErrorMsg = 70 MessageText = "[Microsoft][ODBC Driver Manager] Driver does not support this function" desc: szSqlState = "IM001", *pfNativeError = 0, *pcbErrorMsg = 70 MessageText = "[Microsoft][ODBC Driver Manager] Driver does not support this function" desc: szSqlState = "IM001", *pfNativeError = 0, *pcbErrorMsg = 70 MessageText = "[Microsoft][ODBC Driver Manager] Driver does not support this function" desc: szSqlState = "IM001", *pfNativeError = 0, *pcbErrorMsg = 70 MessageText = "[Microsoft][ODBC Driver Manager] Driver does not support this function" -------------------------------------------------------------------------- ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000641&group_id=1000125