Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1E7094762F2 for ; Mon, 7 Oct 2002 21:52:57 -0400 (EDT) Received: from corvette.mascari.com (dhcp065-024-158-068.columbus.rr.com [65.24.158.68]) by postgresql.org (Postfix) with ESMTP id 80F65476105 for ; Mon, 7 Oct 2002 21:52:54 -0400 (EDT) Received: from mascari.com (ferrari.mascari.com [192.168.2.1]) by corvette.mascari.com (8.9.3/8.9.3) with ESMTP id VAA03056; Mon, 7 Oct 2002 21:51:35 -0400 Message-ID: <3DA23A1D.1040801@mascari.com> Date: Mon, 07 Oct 2002 21:51:25 -0400 From: Mike Mascari User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Mascari Cc: Hiroshi Inoue , pgsql-odbc@postgresql.org Subject: Re: Lotus Domino Server/Enterprise Connection Services References: <3DA0E540.9070901@mascari.com> <3DA1FA19.8020705@mascari.com> <3DA2241A.935CBD84@tpf.co.jp> <3DA22A30.7020608@mascari.com> X-Enigmail-Version: 0.63.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/46 X-Sequence-Number: 2131 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