pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: [Fwd: Re: MaxLongVarChar and new lines in text]
2+ messages / 2 participants
[nested] [flat]

* Re: [Fwd: Re: MaxLongVarChar and new lines in text]
@ 2006-03-27 07:37  Åsmund Kveim Lie <akl@nosyko.no>
  0 siblings, 1 reply; 2+ messages in thread

From: Åsmund Kveim Lie @ 2006-03-27 07:37 UTC (permalink / raw)
  To: pgsql-odbc; inoue@tpf.co.jp


>> Hi,
>>
>> I have sent to the news group (and you) the myLog files, but when I  
>> attach them it does not seem like I'm allowed to post them (at least  
>> they don’t get through to the news group after six hours). Do you know  
>> if I should do it in any other way (e.g. inline them in the mail?).
>>
>> Thank you very much for locking into our problems with new lines. Do  
>> you think it’s related to the text array problems?
>>
>
> Please replace the enhanced driver psqlodbc35w.dll by the one at
> http://www.geocities.jp/inocchichichi/psqlodbc/index.html .


Hi,
This one works much better, but it still don't understand the -4
correctly. From the psqlodbc_xx.log it looks like it truncates the value 
down to 0 byte:

The 1th item was truncated
The buffer size = 1 and the value is '
'

But it works fine for values > 16383 and the newline is retrieved 
correct, so it seems to be a error in the 08.01.0200 version. Is there 
anything you fixed that could be patched also in this version of the driver?

Regards,

Åsmund

Attachments:

  psqlodbc_8864.log (application/octet-stream, 4.0K) download

  mylog_8864.log (application/octet-stream, 19.3K) download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [Fwd: Re: MaxLongVarChar and new lines in text]
@ 2006-03-27 09:57  Hiroshi Inoue <inoue@tpf.co.jp>
  parent: Åsmund Kveim Lie <akl@nosyko.no>
  0 siblings, 0 replies; 2+ messages in thread

From: Hiroshi Inoue @ 2006-03-27 09:57 UTC (permalink / raw)
  To: Åsmund Kveim Lie <akl@nosyko.no>; +Cc: pgsql-odbc

Åsmund Kveim Lie wrote:
> 
>>> Hi,
>>>
>>> I have sent to the news group (and you) the myLog files, but when I  
>>> attach them it does not seem like I'm allowed to post them (at least  
>>> they don’t get through to the news group after six hours). Do you 
>>> know  if I should do it in any other way (e.g. inline them in the 
>>> mail?).
>>>
>>> Thank you very much for locking into our problems with new lines. Do  
>>> you think it’s related to the text array problems?
>>>
>>
>> Please replace the enhanced driver psqlodbc35w.dll by the one at
>> http://www.geocities.jp/inocchichichi/psqlodbc/index.html .
> 
> Hi,
> This one works much better, but it still don't understand the -4
> correctly. From the psqlodbc_xx.log it looks like it truncates the value 
> down to 0 byte:

The changed driver replies size 0(means the column size cannot be determined)
for SQLDescribeCol request while it replied (-4) before the change.
Because the parameter is unsigned, the (-4) means the large number 2**32 - 4
in reality.

regards,
Hiroshi Inoue



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-03-27 09:57 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-27 07:37 Re: [Fwd: Re: MaxLongVarChar and new lines in text] Åsmund Kveim Lie <akl@nosyko.no>
2006-03-27 09:57 ` Hiroshi Inoue <inoue@tpf.co.jp>

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