X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B53E53A6264 for ; Fri, 28 Jan 2005 10:44:45 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 36595-08 for ; Fri, 28 Jan 2005 10:44:32 +0000 (GMT) Received: from gizmo11bw.bigpond.com (gizmo11bw.bigpond.com [144.140.70.21]) by svr1.postgresql.org (Postfix) with SMTP id 3D7553A6200 for ; Fri, 28 Jan 2005 10:44:21 +0000 (GMT) Received: (qmail 2482 invoked from network); 28 Jan 2005 10:44:17 -0000 Received: from unknown (HELO bwmam09.bigpond.com) (144.135.24.94) by gizmo11bw.bigpond.com with SMTP; 28 Jan 2005 10:44:17 -0000 Received: from cpe-203-45-184-181.qld.bigpond.net.au ([203.45.184.181]) by bwmam09.bigpond.com(MAM REL_3_4_2a 144/27507932) with SMTP id 27507932; Fri, 28 Jan 2005 20:44:17 +1000 Message-ID: <41FA1775.20803@iprimus.com.au> Date: Fri, 28 Jan 2005 20:44:05 +1000 From: David User-Agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Borland memo broken Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.376 tagged_above=0 required=5 tests=DNS_FROM_RFC_POST X-Spam-Level: * X-Archive-Number: 200501/95 X-Sequence-Number: 4890 First up, I'd like to thank Dave for nearly single-handedly keeping this project alive. :) Sadly, the only usable version for me has been 7.03.0200 - bug 996 "bad typenames sent to postgresql server" in later versions was a real showstopper until you rolled out 8.00.0003-4. On the other hand, later versions fix bug 974 "problem with schemas" (or similar), which meant that a Delphi BDE app couldn't see indexes properly and crashed while navigating a dataset, unless each table name was prefixed with the schema name, eg "public.customer". My remaining problem is that Memo (Text) types are broken (for BDE apps) after 7.03.0200: "Record size is too big for table". No combination of ODBC driver settings works around it. Setting MaxLongVarChar to 7947 or less (probably dependent on my record size) changes the error to "Type mismatch for field 'Notes', expecting: String actual: Unknown". I'd hazard a guess that the problem lies in a change to convert.c? Unfortunately, there were a stack of changes between 7.03.0200 and 7.03.0209 (the first release I can confirm broken) - versions 1.107 through 1.115 for this module. If you can send me any in-between builds, I could narrow down the source of the problem a lot more. http://www.delphi32.com/info_facts/faq/faq_922.asp notes that the Postgresql ODBC driver looks for a terminating null rather than reading the size parameter. If this is relevant, there's only three or so versions that might be the culprit. HTH David