pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
Cc: pgsql-odbc@postgresql.org
Subject: Re: psqlODBC 09.01.0100 Unicode version still crashes on long server messages?
Date: Mon, 13 May 2013 16:51:20 +0300
Message-ID: <5190EFD8.908@vmware.com> (raw)
In-Reply-To: <trinity-b330263f-aa20-4d6a-8976-a82a45c1a512-1368450949499@3capp-gmx-bs63>
References: <trinity-b330263f-aa20-4d6a-8976-a82a45c1a512-1368450949499@3capp-gmx-bs63>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 13.05.2013 16:15, Jan-Peter Seifert wrote:
> 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.

Works for me. Can you provide a test case, please?

> 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?

Don't think so. But it wouldn't surprise me if there are still similar 
bugs lurking elsewhere in the code...

- Heikki


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (3+ messages)  latest in thread

Message-ID: <5190EFD8.908@vmware.com>
Permalink:  ../5190EFD8.908@vmware.com/
Also on:    postgresql.org/message-id/5190EFD8.908@vmware.com

 · 

reply

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: hlinnakangas@vmware.com, Jan-Peter.Seifert@gmx.de
  Subject: Re: psqlODBC 09.01.0100 Unicode version still crashes on long server messages?
  In-Reply-To: <5190EFD8.908@vmware.com>
  References: <trinity-b330263f-aa20-4d6a-8976-a82a45c1a512-1368450949499@3capp-gmx-bs63> <5190EFD8.908@vmware.com>

* 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