Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 12DB99FB9A4 for ; Mon, 14 May 2007 11:46:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 34067-06 for ; Mon, 14 May 2007 11:46:16 -0300 (ADT) X-Greylist: delayed 23:57:58.974598 by SQLgrey-1.7.4 Received: from mail.mnppsaturn.ru (mail.mnppsaturn.ru [194.190.194.74]) by postgresql.org (Postfix) with ESMTP id A1ED09FB979 for ; Mon, 14 May 2007 11:46:14 -0300 (ADT) Received: from [192.168.1.197] (unknown [192.168.1.197]) by mail.mnppsaturn.ru (Postfix) with ESMTP id 80F2CF009F for ; Mon, 14 May 2007 18:59:19 +0400 (MSD) Message-ID: <4648760E.7050400@mnppsaturn.ru> Date: Mon, 14 May 2007 18:45:34 +0400 From: =?KOI8-R?Q?=E1=CC=C5=CB=D3=C5=CA_=EC=D5=D4=CF=D7=C9=CE=C9=CE?= User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: SQLAllocHandle failed Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/47 X-Sequence-Number: 8960 Hi! I try to use the driver psqlodbc 08.02.0400 together with unixODBC (2.2.11). Before the driver with the version 08.02.0200 was used, all worked well. After successful build, installation and adjustment DSN try work by the utility isql: #isql mydsn -v [IM005][unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_DBC failed [ISQL]ERROR: Could not SQLConnect Identical result for the version UNICODE and ANSI. Fragment of a file sql.log generated by the manager unixODBC: sql.log: [ODBC][31396][__handles.c][444] Exit:[SQL_SUCCESS] Environment = 0x8050dd8 [ODBC][31396][SQLAllocHandle.c][345] Entry: Handle Type = 2 Input Handle = 0x8050dd8 [ODBC][31396][SQLAllocHandle.c][463] Exit:[SQL_SUCCESS] Output Handle = 0x80513b0 [ODBC][31396][SQLConnect.c][3549] Entry: Connection = 0x80513b0 Server Name = [archives][length = 8 (SQL_NTS)] User Name = [NULL] Authentication = [NULL] UNICODE Using encoding ASCII 'ISO8859-1' and UNICODE 'UCS-2LE' [ODBC][31396][SQLAllocHandle.c][318]Error: SQL_INVALID_HANDLE [ODBC][31396][SQLConnect.c][1548]Error: IM005 [ODBC][31396][SQLError.c][476]Error: SQL_INVALID_HANDLE [ODBC][31396][SQLFreeHandle.c][268] Entry: Handle Type = 2 Input Handle = 0x80513b0 [ODBC][31396][SQLFreeHandle.c][185]Error: SQL_INVALID_HANDLE [ODBC][31396][SQLFreeHandle.c][317] Exit:[SQL_SUCCESS] [ODBC][31396][SQLFreeHandle.c][203] Entry: Handle Type = 1 Input Handle = 0x8050dd8 With best regards, Alex Lutovinin