Re: [ psqlodbc-Bugs-1000509 ] TextAsLongVarchar=0 don't work

From: Ludek Finstrle <luf(at)pzkagis(dot)cz>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [ psqlodbc-Bugs-1000509 ] TextAsLongVarchar=0 don't work
Date: 2006-01-09 19:57:28
Message-ID: 20060109195728.GB2822@soptik.pzkagis.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

> Summary: TextAsLongVarchar=0 don't work
>
> Initial Comment:
> select min(codi) from table123
>
> return LongVarchar, also if I have specified TextAsLongVarchar=0. I need
> a varchar.
>
> Thanks
>
> ----------------------------------------------------------------------
>
> >Comment By: Ludek Finstrle (luf)
> Date: 2006-01-09 20:35
>
> Message:
> We communicate more privately. The reporter show me the bug. I hope
> I find the solution. Patch is attached.
>
> The driver is returning varchar now but it returns length 8190 instead
> of max varchar size.

I repost it with patch attached for mail archive.

Please review and comment

Luf

Attachment Content-Type Size
psqlodbc-text_as_longvarchar.diff text/plain 824 bytes

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message zhaoxin 2006-01-10 01:40:36 Re: Output parameter isn't available ???
Previous Message Ludek Finstrle 2006-01-09 19:45:40 Re: [ psqlodbc-Bugs-1000510