Re: [BUGS] [HACKERS] Two phase commit in ECPG
От | Masahiko Sawada |
---|---|
Тема | Re: [BUGS] [HACKERS] Two phase commit in ECPG |
Дата | |
Msg-id | CAD21AoDoCCLVpADeo60UhiZv5LbGnU_QeAp2r+n42p_cdeW_Pg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [BUGS] [HACKERS] Two phase commit in ECPG (Kuntal Ghosh <kuntalghosh.2007@gmail.com>) |
Ответы |
Re: [BUGS] [HACKERS] Two phase commit in ECPG
Re: [BUGS] [HACKERS] Two phase commit in ECPG |
Список | pgsql-bugs |
On Fri, Mar 17, 2017 at 12:17 PM, Kuntal Ghosh <kuntalghosh.2007@gmail.com> wrote: > On Tue, Mar 14, 2017 at 1:35 AM, Michael Meskes <meskes@postgresql.org> wrote: >>> Previous 002 patch lacked to add describing PREPARE TRANSACTION. >>> Attached updated 002 patch. >> >> I just committed both patches and a backport of the bug fix itself. >> Thanks again for finding and fixing. > Regression tests for sql/twophase is failing while performing the test > with make installcheck. > + [NO_PID]: ecpg_check_PQresult on line 32: bad response - ERROR: > prepared transactions are disabled > + HINT: Set max_prepared_transactions to a nonzero value. > > Setting max_prepared_transactions accordingly fixes the issue. But, > I'm not sure whether this test should be performed by installcheck by > default or should only be performed by make > installcheck-prepared-txns. > Thank you for pointing out. Yeah, I agree that the twophase regression test should not be performed by default as long as the default value of max_prepared_transactions is 0. Similar to this, the isolation check regression test does same thing. Attached patch removes sql/twophase from schedule file and add new type of regression test. Regards, -- Masahiko Sawada NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs
Вложения
В списке pgsql-bugs по дате отправления: