From: | "Jan-Peter Seifert" <Jan-Peter(dot)Seifert(at)gmx(dot)de> |
---|---|
To: | pgsql-odbc(at)postgresql(dot)org |
Subject: | psqlODBC 09.01.0100 Unicode version still crashes on long server messages? |
Date: | 2013-05-13 13:15:49 |
Message-ID: | trinity-b330263f-aa20-4d6a-8976-a82a45c1a512-1368450949499@3capp-gmx-bs63 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello,</div>
<div> </div>
<div>it seems when using the Unicode version of the driver it crashes when:
<pre class="bz_comment_text" id="comment_text_80" style="word-wrap: break-word;">log_statement = 'all'
client_min_messages < notice</pre>
</div>
<div>and a long query ( e.g. create function ) is sent to the server.</div>
<div> </div>
<div>Did not test it with a long erronous query sent to the server without using the settings above. But I guess this would cause the driver to crash as well.</div>
<div> </div>
<div>Back in psqlODBC v08.04.0200 ANSI there was a crash when the server message was longer than ~4096 bytes.</div>
<div> </div>
<div>I guess this had been fixed in v09.00.0100 with this patch:</div>
<div>6.) Removed the use of misused strcat_s together with snprintf_s (bug report from Jap-Peter Seifert) and use strlcat instead of strncat.</div>
<div> </div>
<div>Could it be that this had been fixed in the ANSI version only?</div>
<div> </div>
<div>Sorry if this had already been fixed in recent versions.</div>
<div> </div>
<div>Could you check, please?</div>
<div> </div>
<div>Thank you very much!</div>
<div> </div>
<div>Peter</div>
<div> </div>
<div> </div>
<div class="signature"> </div></div></body></html>
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/html | 1.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2013-05-13 13:51:20 | Re: psqlODBC 09.01.0100 Unicode version still crashes on long server messages? |
Previous Message | Heikki Linnakangas | 2013-05-13 10:31:10 | Re: Issue with Oracle Database Gateway for ODBC and Unicode |