pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Vilches, Alejandro <alejandro.vilches@intel.com>
To: 'pgsql-odbc@postgresql.org' <pgsql-odbc@postgresql.org>
Subject: Re: odbc vs. libpq performance
Date: Sat, 01 Aug 2015 21:06:54 +0300
Message-ID: <55BD0ABE.5010800@iki.fi> (raw)
In-Reply-To: <9CE034E149417949A58AA9A4FA7E1C5584AF0A28@ORSMSX109.amr.corp.intel.com>
References: <9CE034E149417949A58AA9A4FA7E1C5584A610A3@ORSMSX109.amr.corp.intel.com>
	<9CE034E149417949A58AA9A4FA7E1C5584A6A129@ORSMSX109.amr.corp.intel.com>
	<552F616E.3080508@iki.fi>
	<9CE034E149417949A58AA9A4FA7E1C5584AC9707@ORSMSX109.amr.corp.intel.com>
	<9CE034E149417949A58AA9A4FA7E1C5584AF0A28@ORSMSX109.amr.corp.intel.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 07/31/2015 02:33 AM, Vilches, Alejandro wrote:
> I've continued looking into this and I discovered something: I
> figured out how to successfully set the SQL_ATTR_AUTOCOMMIT attribute
> to off.  If you set it prior to establishing the connection, this
> setting is ignored and it defaults to on.  If you set it after
> establishing the connection, then it does recognize the setting and
> it works as specified.
>
> The ODBC documentation specifies that this attribute can be set
> either before or after establishing the connection.  If it's not
> accepting the setting before establishing the connection, is this an
> issue in the PostgreSQL ODBC driver?

A-ha! Yes, that's a bug in the driver. In fact, it was fixed back in 
January:

http://www.postgresql.org/message-id/BY1PR0401MB143087AD121D0251C00E5045A85B0@BY1PR0401MB1430.namprd...

That fix will be included in the next release.

- 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 (7+ messages)  latest in thread

Message-ID: <55BD0ABE.5010800@iki.fi>
Permalink:  ../55BD0ABE.5010800@iki.fi/
Also on:    postgresql.org/message-id/55BD0ABE.5010800@iki.fi

 · 

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: hlinnaka@iki.fi, alejandro.vilches@intel.com
  Subject: Re: odbc vs. libpq performance
  In-Reply-To: <55BD0ABE.5010800@iki.fi>
  References: <9CE034E149417949A58AA9A4FA7E1C5584A610A3@ORSMSX109.amr.corp.intel.com> <9CE034E149417949A58AA9A4FA7E1C5584A6A129@ORSMSX109.amr.corp.intel.com> <552F616E.3080508@iki.fi> <9CE034E149417949A58AA9A4FA7E1C5584AC9707@ORSMSX109.amr.corp.intel.com> <9CE034E149417949A58AA9A4FA7E1C5584AF0A28@ORSMSX109.amr.corp.intel.com> <55BD0ABE.5010800@iki.fi>

* 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