X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A9A22D1B1B9 for ; Tue, 27 Jul 2004 10:20:44 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 02265-06 for ; Tue, 27 Jul 2004 13:20:40 +0000 (GMT) Received: from adsl2.nocera.com (host78-80.pool8172.interbusiness.it [81.72.80.78]) by svr1.postgresql.org (Postfix) with ESMTP id 372B0D1B442 for ; Tue, 27 Jul 2004 10:20:37 -0300 (ADT) Received: from gespo.nocera.com ([192.168.157.6] helo=gespo ident=mail) by adsl2.nocera.com with esmtp (Exim 3.35 #1 (Debian)) id 1BpRqg-0005Pn-00; Tue, 27 Jul 2004 15:18:31 +0200 Received: from pennino-a.nocera.com ([192.168.157.18] helo=pennino-a) by gespo with esmtp (Exim 3.35 #1 (Debian)) id 1BpRqc-0003Y1-00; Tue, 27 Jul 2004 15:18:26 +0200 From: "Antonio Pennino" Organization: Nocera Informatica To: "Dave Page" Date: Tue, 27 Jul 2004 15:18:25 +0200 MIME-Version: 1.0 Subject: Re: problem with CVS version Cc: pgsql-odbc@postgresql.org Message-ID: <41067241.26067.131E6AA@localhost> In-reply-to: X-mailer: Pegasus Mail for Windows (4.21b) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/146 X-Sequence-Number: 4279 Subject: RE: [ODBC] problem with CVS version Date sent: Tue, 27 Jul 2004 13:27:30 +0100 From: "Dave Page" To: "Antonio Pennino" Copies to: > Hmm, there's nothing in there that looks odd to me, but then I've never > dug quite this deep into the driver before. I assume '#eliminato' > translates to '#deleted'? Yes, but is NOT only a MS-ACCESS 97 problem because with my dump utility a see m_nSQLType (MFC) = -9 !!! This variabile is obtained from ::SQLDescribeCol(), this MFC fragment show who MFC use this API: AFX_ODBC_CALL(::SQLDescribeCol(m_hstmt, n, (UCHAR*)lpszFieldName, MAX_FNAME_LEN, &nActualLen, &m_rgODBCFieldInfos[n - 1].m_nSQLType, &m_rgODBCFieldInfos[n - 1].m_nPrecision, &m_rgODBCFieldInfos[n - 1].m_nScale, &m_rgODBCFieldInfos[n - 1].m_nNullability)); I may send the source of my utility if someone want it. It require Microsoft Visual Studio 6. Perhaps the ::SQLDescribeCol() is deprecated for psql but MFC use it and i CAN NOT write my code without the MFC framework. If, instead of the CVS version and/or the beta version from Dave, i use an older (7.1.2004) version of psqlodbc.dll, m_nSQLType is = 12. The server is the 7.2.1 Thanks for any help. ============================================ Antonio Pennino Nocera Informatica s.r.l. telefono: 035/4219033 telefax : 035/4219050 e-mail : a.pennino@nocerainformatica.net ============================================