Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 435AE9FB641 for ; Sun, 5 Aug 2007 20:55:21 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 33925-02 for ; Sun, 5 Aug 2007 20:55:10 -0300 (ADT) X-Greylist: whitelisted by SQLgrey-1.7.5 Received: from mail13.syd.optusnet.com.au (mail13.syd.optusnet.com.au [211.29.132.194]) by postgresql.org (Postfix) with ESMTP id 2A1C79FB633 for ; Sun, 5 Aug 2007 20:55:16 -0300 (ADT) Received: from [127.0.0.1] (online4-new.lnk.telstra.net [139.130.169.227]) (authenticated sender plengada@optusnet.com.au) by mail13.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l75NtBw7014125 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 6 Aug 2007 09:55:13 +1000 Message-ID: <46B66329.3060605@autoledgers.com.au> Date: Mon, 06 Aug 2007 07:54:17 +0800 From: Paul Lambert User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Re: Strange ODBC behavior. References: <46B288AF.60907@autoledgers.com.au> <46B331EA.609@commandprompt.com> <46B64E81.8020803@autoledgers.com.au> <200708051641.18640.aklaver@comcast.net> In-Reply-To: <200708051641.18640.aklaver@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/10 X-Sequence-Number: 9127 Adrian Klaver wrote: > Actually this has been noted before. Search Google or psql-odbc archives for > references. There are some changes you can make to the ODBC settings to help. > Unfortunately, I cannot remember them off the top of my head. I only bring > this up because I saw your post on the general list about changing the type > of 600 text columns. You might find it easier to change the behavior of the > ODBC driver. I should have thought about checking the ODBC settings before. There is a setting called "Text as LongVarChar" - I've unticked that and now text fields are coming through as text. Thanks for the pointers. -- Paul Lambert Database Administrator AutoLedgers