|
|
Sponsor |
Re: problem with CVS version: msg#00156db.postgresql.odbc
> -----Original Message----- > From: pgsql-odbc-owner@xxxxxxxxxxxxxx > [mailto:pgsql-odbc-owner@xxxxxxxxxxxxxx] On Behalf Of Antonio Pennino > Sent: 28 July 2004 19:45 > To: pgsql-odbc@xxxxxxxxxxxxxx > Subject: Re: [ODBC] problem with CVS version > > > If the connection is made using SQLConnectW, SQLDriverConnectW or > > SQLBrowseConnectW, > > I am *sure* : i not call unicode API. OK. > Ok, is a problem of the driver manager. > The MDAC update not solve the problem. Yes, I think it is the DM. I just tried using the Ansi ODBC Test program with the SQL Server driver. It called the Unicode functions as well... odbcte32 828-170 ENTER SQLDriverConnectW HDBC 003A17D8 HWND 00040396 WCHAR * 0x1F7A9D2C [ -3] "******\ 0" SWORD -3 WCHAR * 0x1F7A9D2C SWORD 2 SWORD * 0x00000000 UWORD 1 <SQL_DRIVER_COMPLETE> odbcte32 828-170 EXIT SQLDriverConnectW with return code 1 (SQL_SUCCESS_WITH_INFO) HDBC 003A17D8 HWND 00040396 WCHAR * 0x1F7A9D2C [ -3] "******\ 0" SWORD -3 WCHAR * 0x1F7A9D2C SWORD 2 SWORD * 0x00000000 UWORD 1 <SQL_DRIVER_COMPLETE> DIAG [01000] [Microsoft][ODBC SQL Server Driver][SQL Server]Changed database context to 'uhlive'. (5701) > The database is not unicode: > > firedell:/etc/postgresql# psql -l > > List of databases > Name | Owner | Encoding > -----------+----------+----------- > dbrete | postgres | SQL_ASCII > firedell | postgres | SQL_ASCII > template0 | postgres | SQL_ASCII > template1 | postgres | SQL_ASCII > > One table (with varchar also) is read ok, the other 4 no! > The difference with SQL Server is that it has separate types for unicode/non-unicode data (nvarchar/varchar) which can be mixed in the same table. I don't fully understand what the possible side effects might be yet, but what if we only set conn->unicode if the connection is made to a unicode database AND the driver tries to call SQL*ConnectW? Comments anyone? > Why Protocol=6.4 when i have set it to 7.x? the server is 7.2.x 7.2.x uses the 6.4 protocol. That's normal :-) Regards, Dave. ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Updatable Cursors, CTID, and Views, Dave Page |
|---|---|
| Next by Date: | bad performance for Access, ODBC and Postgres, Jean-Max Reymond |
| Previous by Thread: | Re: problem with CVS version, Dave Page |
| Next by Thread: | Re: problem with CVS version, Antonio Pennino |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|