psqlODBC 09.01.0100 Unicode version still crashes on long server messages? - Mailing list pgsql-odbc

From Jan-Peter Seifert
Subject psqlODBC 09.01.0100 Unicode version still crashes on long server messages?
Date
Msg-id trinity-b330263f-aa20-4d6a-8976-a82a45c1a512-1368450949499@3capp-gmx-bs63
Whole thread
Responses Re: psqlODBC 09.01.0100 Unicode version still crashes on long server messages?
List pgsql-odbc
Hello,
 
it seems when using the Unicode version of the driver it crashes when:
log_statement = 'all'

client_min_messages < notice
and a long query ( e.g. create function ) is sent to the server.
 
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.
 
Back in psqlODBC v08.04.0200 ANSI there was a crash when the server message was longer than ~4096 bytes.
 
I guess this had been fixed in v09.00.0100 with this patch:
6.) Removed the use of misused strcat_s together with snprintf_s (bug report from Jap-Peter Seifert) and use strlcat instead of strncat.
 
Could it be that this had been fixed in the ANSI version only?
 
Sorry if this had already been fixed in recent versions.
 
Could you check, please?
 
Thank you very much!
 
Peter
 
 
 

pgsql-odbc by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Issue with Oracle Database Gateway for ODBC and Unicode
Next
From: Heikki Linnakangas
Date:
Subject: Re: psqlODBC 09.01.0100 Unicode version still crashes on long server messages?