pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mike Mascari <mascarm@mascari.com>
To: Mike Mascari <mascarm@mascari.com>
Cc: Hiroshi Inoue <Inoue@tpf.co.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Lotus Domino Server/Enterprise Connection Services
Date: Mon, 07 Oct 2002 21:51:25 -0400
Message-ID: <3DA23A1D.1040801@mascari.com> (raw)
References: <3DA0E540.9070901@mascari.com>
	<3DA1FA19.8020705@mascari.com>
	<3DA2241A.935CBD84@tpf.co.jp>
	<3DA22A30.7020608@mascari.com>

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




view thread (5+ messages)

Message-ID: <3DA23A1D.1040801@mascari.com>
Permalink:  ../3DA23A1D.1040801@mascari.com/
Also on:    postgresql.org/message-id/3DA23A1D.1040801@mascari.com

 · 

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: mascarm@mascari.com, Inoue@tpf.co.jp
  Subject: Re: Lotus Domino Server/Enterprise Connection Services
  In-Reply-To: <3DA23A1D.1040801@mascari.com>
  References: <3DA0E540.9070901@mascari.com> <3DA1FA19.8020705@mascari.com> <3DA2241A.935CBD84@tpf.co.jp> <3DA22A30.7020608@mascari.com> <3DA23A1D.1040801@mascari.com>

* 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