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

(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: <52A72C86.1080807@tpf.co.jp>
Permalink:  ../52A72C86.1080807@tpf.co.jp/
Also on:    postgresql.org/message-id/52A72C86.1080807@tpf.co.jp

 · 

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: inoue@tpf.co.jp, mlandl@4glsol.com
  Subject: Re: Is this typical psqlodbc behavior?
  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>

* 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