Re: ECPG patch N+1, fix auto-prepare

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: ECPG patch N+1, fix auto-prepare
Дата
Msg-id 20091216123301.GA29436@feivel.credativ.lan
обсуждение исходный текст
Ответ на Re: ECPG patch N+1, fix auto-prepare  (Boszormenyi Zoltan <zb@cybertec.at>)
Ответы Fix auto-prepare #2  (Boszormenyi Zoltan <zb@cybertec.at>)
Список pgsql-hackers
On Wed, Dec 16, 2009 at 11:54:41AM +0100, Boszormenyi Zoltan wrote:
> Your code in ecpg.addons calls output_statement()
> unconditionally with ECPGst_prepnormal and
> output_statement() decides what to do with the
> "auto_prepare" global variable. Your code doesn't
> seem more readable than mine, but does the same
> with the currently existing callers.

It better should do the same. :-)

Maybe finding it simpler this way just comes from me being used to the way this
part of the source code works. It's essantially the same, I only moved that one
auto_prepare test out of the parser.

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
ICQ: 179140304, AIM/Yahoo/Skype: michaelmeskes, Jabber: meskes@jabber.org
VfL Borussia! Forca Barca! Go SF 49ers! Use: Debian GNU/Linux, PostgreSQL


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Update on true serializable techniques in MVCC
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Hot Standby and prepared transactions