Re: rollback to savepoint leads to transaction already in progress
От | Michael Meskes |
---|---|
Тема | Re: rollback to savepoint leads to transaction already in progress |
Дата | |
Msg-id | 4CB71153.8070205@postgresql.org обсуждение исходный текст |
Ответ на | Re: rollback to savepoint leads to transaction already in progress (Itagaki Takahiro <itagaki.takahiro@gmail.com>) |
Список | pgsql-bugs |
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
В списке pgsql-bugs по дате отправления: