Received: from u1.abs.net (root@u1.abs.net [207.114.0.131]) by hub.org (8.9.1/8.9.1) with ESMTP id KAA01998 for ; Thu, 29 Oct 1998 10:32:17 -0500 (EST) (envelope-from byronn@insightdist.com) Received: from insightdist.com (nobody@localhost) by u1.abs.net (8.9.0/8.9.0) with UUCP id KAA19716 for pgsql-interfaces@postgresql.org; Thu, 29 Oct 1998 10:04:43 -0500 (EST) X-Authentication-Warning: u1.abs.net: nobody set sender to insightdist.com!byronn using -f Received: from ceodev by insightdist.com (AIX 3.2/UCB 5.64/4.03) id AA37163; Thu, 29 Oct 1998 09:56:16 -0500 Received: from byronn by ceodev (AIX 4.1/UCB 5.64/4.03) id AA06720; Thu, 29 Oct 1998 09:56:16 -0500 Message-Id: <36388340.5A6EFA0C@insightdist.com> Date: Thu, 29 Oct 1998 10:01:20 -0500 From: Byron Nikolaidis X-Mailer: Mozilla 4.05 [en] (Win95; I) Mime-Version: 1.0 To: "Thomas G. Lockhart" Cc: scampbell@lear.com, "Cary O'Brien" , Postgres Interfaces Mailing List Subject: Re: Standalone driver for Unix References: <199810291349.IAA00618@scampbell.learcorp.com> <36387FAD.B55A7BB5@alumni.caltech.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thomas G. Lockhart wrote: > scampbell@lear.com wrote: > > > > I had one other interesting thing with the Postgresql ODBC driver. > I don't know much of the internal's of ODBC but here's what I'm > wondering... > > > > When I use an extended datatype (let's say one for ipaddress for > instance) and then use MS Access to open the table via ODBC it > complains that the 'ipaddress' is an unknown type. I have clicked a > box in creation of the ODBC ini file (or the .DSN file actually in the > case of MS) that says (something similar to) 'Treat unknown datatypes > as LongVarChar' but it seems to have no effect turned on or off. Does > our drive not support this? Is MS just show it normal 'excellence in > programming'? Any ideas? > > Are you trying to use this 'ipaddress' field as a key field? If so, you must NOT check the Treat unknown datatypes as LongVarChar. The reason is Access can't have a unique index on a field that is over 255 characters, which is the default max length for a longvarchar. Try unchecking the option, then you *must* re-link the table in Access to see if it worked. Also, Make sure the size for "Max Varchar" is set to the default of 254. Byron