From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: rollback to savepoint leads to transaction already in progress |
Date: | 2010-10-14 14:18:59 |
Message-ID: | 4CB71153.8070205@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
Takahiro-san,
> I think the string-comparison is unreliable. So, I'd like to replace
> the code to use PQtransactionStatus(). I have two patches to do it:
> The first one (ecpg-trans-quick_20101014.patch) is a quick fix
> that replaces only the above test.
> The second one (ecpg-trans-full_20101014.patch) replaces all of
> struct connection->committed with PQtransactionStatus().
>
> Which solution is better? Or, another idea?
The full solution is the better one, but I'd prefer to not apply it to
the stable versions as there's a slight chance it might break something.
So that means I'd apply full for HEAD and quick for 9.0 and 8.4. Will
you commit this? Or shall I?
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-10-14 14:26:46 | Re: BUG #5709: PostgreSQL server 8.4.5 does not compile with gcc 4.5 |
Previous Message | Robert Haas | 2010-10-14 12:21:14 | Re: rollback to savepoint leads to transaction already in progress |
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Smith | 2010-10-14 14:23:24 | Re: ask for review of MERGE |
Previous Message | Tom Lane | 2010-10-14 14:09:26 | Re: SQL command to edit postgresql.conf, with comments |