From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1000509 ] TextAsLongVarchar=0 don't work
Date: Tue, 10 Jan 2006 22:10:06 +0000 (GMT)
Message-ID: <20060110221006.33F3C1033E29@pgfoundry.org> (raw)
Bugs item #1000509, was opened at 2005-12-27 13:25
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000509&group_id=1000125
Category: None
Group: None
>Status: Closed
Resolution: Accepted
Priority: 3
Submitted By: Nobody (None)
Assigned to: Ludek Finstrle (luf)
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-10 17:32
Message:
I attach Windows zipped DLLs. DLLs have to replace existing psqlODBC installation (in case additional DLLs and registry settings).
Please try and report
----------------------------------------------------------------------
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.
Please try and report.
----------------------------------------------------------------------
Comment By: Ludek Finstrle (luf)
Date: 2006-01-08 12:46
Message:
typ = 25 is text. This returns backend. We can't change it here.
Why you post so small log entry? I don't see the right place where does yours expectance differ from reality. I don't see yours settings ... How do you get the data?
Please include whole log or send it to me.
----------------------------------------------------------------------
Comment By: Nobody (None)
Date: 2006-01-02 12:57
Message:
CODI is varchar(4)
driver versione 8.01.01.06
[4076]LIBPQ_execute_query: query = select min(codi), max(codi_provv_tipo) from bitbprov
[4076]LIBPQ_execute_query: recent_processed_row_count = 1
[4076]LIBPQ_execute_query: rest types ...
[4076]CC_mapping: entering ...
[4076]CC_mapping: rows = 1, columns = 2
[4076]CC_mapping: column = 0
[4076]CC_mapping: set field info: name = min, typ = 25, typlen = 8190, attypmod = -1
typ = 25 probably is long varchar
I need will be varchar and typlen=254.
----------------------------------------------------------------------
Comment By: Ludek Finstrle (luf)
Date: 2005-12-28 20:29
Message:
I see no problem at first sight. Please could you write which version of psqlodbc do you use?
I need your mylog output to see what's going wrong.
What do you mean with "return LongVarchar"?
What column type is codi?
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000509&group_id=1000125
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: noreply@pgfoundry.org
Subject: Re: [ psqlodbc-Bugs-1000509 ] TextAsLongVarchar=0 don't work
In-Reply-To: <20060110221006.33F3C1033E29@pgfoundry.org>
References: <20060110221006.33F3C1033E29@pgfoundry.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox