Re: Lotus Domino Server/Enterprise Connection Services - Mailing list pgsql-odbc

From Mike Mascari
Subject Re: Lotus Domino Server/Enterprise Connection Services
Date
Msg-id 3DA23A1D.1040801@mascari.com
Whole thread Raw
In response to Lotus Domino Server/Enterprise Connection Services  (Mike Mascari <mascarm@mascari.com>)
List pgsql-odbc
I wrote:
> Hiroshi Inoue wrote:
>
>>Mike Mascari wrote:
>>
>>>When Domino Server examines data using the Access ODBC driver,
>>>it calls SQLTables() followed by SQLDescribeCol().
>>>SQLDescribeCol() returns a value of 12 (SQL_VARCHAR) for the
>>>data type of the metadata (like table names or column names),
>>>whereas the PostgreSQL driver is returing a -1 (Who knows?) for
>>
>>
>>-1 is SQL_LONGVARCHAR. Hmm the driver has handled the
>>char columns for the result of most catalog functions
>>as PG_TYPE_TEXT and it seems to be the cause. I changed
>>them to PG_TYPE_VARCHAR and put the binaries on
>>http://w2422.nsk.ne.jp/~inoue/.
>>Could you try the dll ?
>
>
> Yes, I will. I poked around a little further. It seems Domino
> can't handle SQL_LONGVARCHAR, so just unchecking "Text as
> LongVarChar" allowed it to properly peruse the catalog. I'll
> also do some more rigorous testing as well...

Your DLL works nicely without having to disable "Text as
LongVarChar", which makes sense.

Thanks!

Mike Mascari
mascarm@mascari.com


pgsql-odbc by date:

Previous
From: Mike Mascari
Date:
Subject: Re: Lotus Domino Server/Enterprise Connection Services
Next
From: "Dave Page"
Date:
Subject: Re: Unix build