Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A28CE475DAD for ; Mon, 7 Oct 2002 20:44:35 -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 2F47547580B for ; Mon, 7 Oct 2002 20:44:34 -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 UAA02943; Mon, 7 Oct 2002 20:43:39 -0400 Message-ID: <3DA22A30.7020608@mascari.com> Date: Mon, 07 Oct 2002 20:43:28 -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: Hiroshi Inoue Cc: 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> 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/45 X-Sequence-Number: 2130 Hiroshi Inoue wrote: > Mike Mascari wrote: >> >>I've compared the SQL trace log of Lotus Domino Server accessing >>a Microsoft Access database using DECS/ODBC vs. accessing a >>PostgreSQL database using DECS/ODBC. The main difference which >>is prohibiting Lotus Domino Server from connecting to a >>PostgreSQL database is the data type of the meta data. >> >>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... Thanks! Mike Mascari mascarm@mascari.com