buffer size error

From: "Noshiro, Kenya" <Kenya(dot)Noshiro(at)jp(dot)sony(dot)com>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: buffer size error
Date: 2005-11-03 08:41:25
Message-ID: 92F687BE9D7EA24B8251DDD5EA35625B8ED468@jptkyxms27.jp.sony.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hello,

I am using Visual Basic .NET(1.1) as frontend,
PostgreSQL ver8.0.3 as backend and PostgreSQL ODBC driver ver 8.00.01.01
and experiencing "The buffer was too small for the ConnStrOut".

The SQL connection works OK for a while but eventually crushes all the
time !!

PostgreSQL encoding is set to LATIN1 and client encoding is set to UTF8.

[3708][SQLGetDiagRecW][3708]PGAPI_GetDiagRec entering rec=1[3708]****
PGAPI_ConnectError: hdbc=124861136 <46>
[3708]enter CC_get_error
[3708]exit CC_get_error
[3708]CC_get_error: status = 215, msg = #The buffer was too small for
the ConnStrOut.#
[3708] szSqlState = '(null)',len=44, szError='The buffer was too
small for the ConnStrOut.'
[3708]PGAPI_GetDiagRec exiting 0

I have searched mailing list archive and found following thread.
So I have downloaded the latest snapshot, psqlodbc-08.01.005(Unicode)
to give it a try but it crushes with same error.

Has it been fixed yet or am I doing something wrong?
I do not know how to change buffer size for ConnStrOut in Visual Basic
.NET.
If you can advise me how to solve this problem, it is very much
appreciated.

Thanks in advance.

Best regards,

Kenya

>> -----Original Message-----
>> From: pgsql-odbc-owner(at)???
>> [mailto:pgsql-odbc-owner(at)???] On Behalf Of Max Cohan
>> Sent: 02 August 2005 17:47
>> To: pgsql-odbc(at)???
>> Subject: Re: [ODBC] psqlODBC 08.00.0102 available for download
>>
>>
>> I'm using ODBC via VB.NET (1.1)...
>> When I switch to this version I get the following error:
>> ODBC ERROR: [01004] The buffer was too small for the ConnStrOut.
>>
>
>Hi Max,
>
>Yeah, I've noticed that error in recent testing. I hope to resolve it
>for the next snapshot in the next day or so.
>
>Regards,Dave.

Browse pgsql-odbc by date

  From Date Subject
Next Message Mimi Siu 2005-11-03 10:03:06 Problem with Chinese characters
Previous Message Dave Page 2005-11-03 08:10:34 Re: Declare/Fetch