pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mike Landl <mlandl@4glsol.com>
To: 'Hiroshi Inoue' <inoue@tpf.co.jp>
To: pgsql-odbc@postgresql.org
Subject: Re: Is this typical psqlodbc behavior?
Date: Tue, 10 Dec 2013 10:11:28 -0500
Message-ID: <004501cef5ba$1aaf2090$500d61b0$@com> (raw)
In-Reply-To: <52A72C86.1080807@tpf.co.jp>
References: <005c01cef4f0$5929e7d0$0b7db770$@com>
	<52A65ADA.7090008@tpf.co.jp>
	<003401cef5a8$ac321fc0$04965f40$@com>
	<52A72C86.1080807@tpf.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Thank you so much.

-----Original Message-----
From: Hiroshi Inoue [mailto:inoue@tpf.co.jp] 
Sent: Tuesday, December 10, 2013 10:00 AM
To: Mike Landl; pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Is this typical psqlodbc behavior?

(2013/12/10 22:06), Mike Landl wrote:
> Thank you. Can you tell me how I can disable the savepoints using 
> odbc.ini in Linux?
> Apologies if I should know this, I haven't been able to find it.
> Is there a list of odbc.ini options that psqlodbc recognizes anywhere?

Please look at *Level of rollback on errors* section at docs/config.html.
Specify PROTOCOL option with the level of rollback on errors
	PROTOCOL=7.4[-(0|1|2)]
0:driver does nothing
1:driver rollback the transaction entirely 2:driver rollback the statement

The default is 2 for recent versions of PostgreSQL servers and the driver
issues SAVEPOINT commands beforehand to rollback the subsequent statement on
errors.

regards,
Hiroshi Inoue




--
I am using the free version of SPAMfighter.
SPAMfighter has removed 788 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

Do you have a slow PC? Try a Free scan
http://www.spamfighter.com/SLOW-PCfighter?cid=sigen



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

Message-ID: <004501cef5ba$1aaf2090$500d61b0$@com>
Permalink:  ../004501cef5ba$1aaf2090$500d61b0$@com/
Also on:    postgresql.org/message-id/004501cef5ba$1aaf2090$500d61b0$@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: mlandl@4glsol.com, inoue@tpf.co.jp
  Subject: Re: Is this typical psqlodbc behavior?
  In-Reply-To: <004501cef5ba$1aaf2090$500d61b0$@com>
  References: <005c01cef4f0$5929e7d0$0b7db770$@com> <52A65ADA.7090008@tpf.co.jp> <003401cef5a8$ac321fc0$04965f40$@com> <52A72C86.1080807@tpf.co.jp> <004501cef5ba$1aaf2090$500d61b0$@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