pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Antonio Pennino <a.pennino@nocerainformatica.net>
To: pgsql-odbc@postgresql.org
Subject: Re: problem with CVS version
Date: Wed, 28 Jul 2004 20:44:38 +0200
Message-ID: <41081036.31430.3254A8@localhost> (raw)
In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E41A7499@ratbert.vale-housing.co.uk>

> If the connection is made using SQLConnectW,
> SQLDriverConnectW or SQLBrowseConnectW, 

I am *sure* : i not call unicode API.

Ok, is a problem of the driver manager.
The MDAC update not solve the problem.

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!

Building the connection string (via a .udl file) it is:

DSN=firedell;DATABASE=firedell;SERVER=192.168.160.254;PORT=5432
;UID=postgres;PWD=<omissis>;ReadOnly=0;Protocol=6.4;FakeOidInde
x=0;ShowOidColumn=0;RowVersioning=0;ShowSystemTables=0;ConnSett
ings=;Fetch=100;Socket=4096;UnknownSizes=0;MaxVarcharSize=254;M
axLongVarcharSize=8190;Debug=1;CommLog=0;Optimizer=1;Ksqo=1;Use
DeclareFetch=1;TextAsLongVarchar=0;UnknownsAsLongVarchar=0;Bool
sAsChar=0;Parse=1;CancelAsFreeStmt=0;ExtraSysTablePrefixes=dd_;
;LFConversion=1;UpdatableCursors=0;DisallowPremature=0;TrueIsMi
nus1=0;BI=0;ByteaAsLongVarBinary=0;UseServerSidePrepare=0

Why Protocol=6.4 when i have set it to 7.x? the server is 7.2.x

Sorry for yours time.... and for my time also :-))


============================================
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: <41081036.31430.3254A8@localhost>
Permalink:  ../41081036.31430.3254A8@localhost/
Also on:    postgresql.org/message-id/41081036.31430.3254A8@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
  Subject: Re: problem with CVS version
  In-Reply-To: <41081036.31430.3254A8@localhost>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E41A7499@ratbert.vale-housing.co.uk> <41081036.31430.3254A8@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