pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Antonio Pennino <a.pennino@nocerainformatica.net>
To: Dave Page <dpage@vale-housing.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: problem with CVS version
Date: Tue, 27 Jul 2004 15:18:25 +0200
Message-ID: <41067241.26067.131E6AA@localhost> (raw)
In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E41A7487@ratbert.vale-housing.co.uk>

Subject:        	RE: [ODBC] problem with CVS version
Date sent:      	Tue, 27 Jul 2004 13:27:30 +0100
From:           	"Dave Page" <dpage@vale-housing.co.uk>
To:             	"Antonio Pennino" <a.pennino@nocerainformatica.net>
Copies to:      	<pgsql-odbc@postgresql.org>

> 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
============================================




view thread (16+ messages)  latest in thread

Message-ID: <41067241.26067.131E6AA@localhost>
Permalink:  ../41067241.26067.131E6AA@localhost/
Also on:    postgresql.org/message-id/41067241.26067.131E6AA@localhost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: a.pennino@nocerainformatica.net, dpage@vale-housing.co.uk
  Subject: Re: problem with CVS version
  In-Reply-To: <41067241.26067.131E6AA@localhost>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E41A7487@ratbert.vale-housing.co.uk> <41067241.26067.131E6AA@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox