Re: Is this typical psqlodbc behavior?

From: "Mike Landl" <mlandl(at)4glsol(dot)com>
To: "'Hiroshi Inoue'" <inoue(at)tpf(dot)co(dot)jp>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Is this typical psqlodbc behavior?
Date: 2013-12-10 15:11:28
Message-ID: 004501cef5ba$1aaf2090$500d61b0$@com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Thank you so much.

-----Original Message-----
From: Hiroshi Inoue [mailto:inoue(at)tpf(dot)co(dot)jp]
Sent: Tuesday, December 10, 2013 10:00 AM
To: Mike Landl; pgsql-odbc(at)postgresql(dot)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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Adrian Klaver 2013-12-10 15:13:50 Re: Is this typical psqlodbc behavior?
Previous Message Hiroshi Inoue 2013-12-10 15:00:22 Re: Is this typical psqlodbc behavior?