Re: Windows ODBC Driver

From: Bill Todd <pg(at)dbginc(dot)com>
To: Bill Todd <pg(at)dbginc(dot)com>, Greg Lindstrom <gslindstrom(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Windows ODBC Driver
Date: 2008-09-12 21:13:00
Message-ID: 48CADB5C.8090403@dbginc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Stephen Frost wrote:
> * Bill Todd (pg(at)dbginc(dot)com) wrote:
>
>> FWIW I cannot get the ODBC driver to work correctly with ADO and the OLE
>> DB provider for ODBC. It sees TEXT fields as VARCHAR instead of
>> LONGVARCHAR. I do not know if the problem is at the ODBC level or the
>> ADO level but test carefully if you are going to use TEXT fields.
>>
>
> There's an option in the ODBC configuration settings to flip that back
> and forth, I believe... 'Text as LongVarChar'.
>
> Stephen
>
Been there, done that, does not work.<g> The only way I could get a text
field to be treated as LongVarChar was to check UnknownAsLongVarChar and
when I do that both VarChar and Text columns are treated as LongVarChar.

Bill

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dann Corbit 2008-09-13 05:47:28 Re: weekday from timestamp?
Previous Message Greg Smith 2008-09-12 20:56:19 Re: Fastest way to restore a database