X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 5092D9FA92E for ; Fri, 9 Jun 2006 13:10:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 55938-03 for ; Fri, 9 Jun 2006 13:10:13 -0300 (ADT) X-Greylist: delayed 00:10:00.556523 by SQLgrey- Received: from gk-us2.us.michelin.com (gk-us2.michelin.com [156.65.14.19]) by postgresql.org (Postfix) with ESMTP id A4C5A9FA7BA for ; Fri, 9 Jun 2006 13:10:13 -0300 (ADT) Received: from oncpfxp4-out.onc.michelin.com (unverified [10.21.4.32]) by gk-us2.us.michelin.com (Clearswift SMTPRS 5.1.7) with ESMTP id for ; Fri, 9 Jun 2006 11:59:27 -0400 Received: from ONCMH1.onc.michelin.com (ONCMH1.onc.michelin.com [156.65.124.40]) by oncpfxp4-out.onc.michelin.com (Postfix) with ESMTP id 7F0A51833E for ; Fri, 9 Jun 2006 12:00:11 -0400 (EDT) Received: from oncmtap1.onc.michelin.com by oncmh1.onc.michelin.com with ESMTP for pgsql-odbc@postgresql.org; Fri, 9 Jun 2006 12:00:10 -0400 Received: from oncems01.onc.michelin.com ([156.65.125.150]) by oncmtap1.onc.michelin.com (Netscape Messaging Server 4.15) with ESMTP id J0LOG900.F3Z for ; Fri, 9 Jun 2006 12:00:09 -0400 Received: from [10.43.12.183] (unverified) by oncems01.onc.michelin.com (Content Technologies SMTPRS 4.2.5) with ESMTP id ; Fri, 9 Jun 2006 12:00:09 -0400 Message-Id: <44899B06.2040602@us.michelin.com> Date: Fri, 09 Jun 2006 12:00:06 -0400 From: "Campbell, Greg" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ioguix CC: pgsql-odbc@postgresql.org Subject: Re: Access97/odbcUnicode/pgsql : unable to map text fieldto memo type References: <4487EE7F.3000603@free.fr> In-Reply-To: <4487EE7F.3000603@free.fr> Content-Type: multipart/mixed; boundary="------------090004000001000205040006" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/57 X-Sequence-Number: 7805 This is a multi-part message in MIME format. --------------090004000001000205040006 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Its an Access problem. I made linked tables to a postgresql 8.x database (on Linux server) with Access 97 and Access XP. Access 97 interpreted the Postgresql text type column as Access Text(255) (That's Bad). Access XP interpreted the same as Memo (That is Good). I don't know if any of the ODBC driver settings can overcome the issue. ioguix wrote: > Hello, > > I use odbc unicode driver to link tables from my pgsql 8.1.3 server to > Access97 SR2 (and latest jet engine 4.0 SP 8). > > Everything is working well, even inserting row work without #deleted on > update (like with the ansi driver despite of serial PK on tables :s) > > Actualy, one thing doesn't work properly. It's a well know issue, but I > didn't find how to correct it (_and_I_read_lots_of_webpages_about_that_!_) > > TEXT type in my pgsql database aren't map to memo type in Access. I > don't mind sorting, index or order on these fields, but I really need > more than 255 chars on them. > > And, yes, checked the "text as LongVarChar" in the ODBC configuration. > > Here the table I use for my tests : > > CREATE TABLE test > ( > id serial NOT NULL, > txt text NOT NULL DEFAULT ''::text, > CONSTRAINT test_pkey PRIMARY KEY (id) > ) > WITH OIDS; > > I think you will find the complete ODBC configuration in the HUGE logs > here : http://ioguix.free.fr/pgsqllog.log > > Please....help... (or point me in the right direction) > > Thanks --------------090004000001000205040006 Content-Type: text/x-vcard; charset=utf-8; name="greg.campbell.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="greg.campbell.vcf" begin:vcard fn:Greg Campbell n:Campbell;Greg org:Michelin North America - US5 Lexington;ENG-ASE email;internet:greg.campbell@us.michelin.com title:ASE Systems Engineer tel;work:803-951-5561/x75561 x-mozilla-html:FALSE version:2.1 end:vcard --------------090004000001000205040006--