Re: <IDLE> and waiting
От
Alvaro Herrera
Тема
Re: <IDLE> and waiting
Дата
Msg-id
20080202232757.GB5238@alvh.no-ip.org
Ответ на
Re: <IDLE> and waiting (Gurjeet Singh)
Список
Дерево обсуждения
<IDLE> and waiting "Gurjeet Singh" <singh.gurjeet@gmail.com>
Re: <IDLE> and waiting Tom Lane <tgl@sss.pgh.pa.us>
Re: <IDLE> and waiting Tom Lane <tgl@sss.pgh.pa.us>
Re: <IDLE> and waiting "Gurjeet Singh" <singh.gurjeet@gmail.com>
Re: <IDLE> and waiting Alvaro Herrera <alvherre@commandprompt.com>
Re: <IDLE> and waiting Tom Lane <tgl@sss.pgh.pa.us>
Re: <IDLE> and waiting "Gurjeet Singh" <singh.gurjeet@gmail.com>
Re: <IDLE> and waiting "Gurjeet Singh" <singh.gurjeet@gmail.com>
Re: <IDLE> and waiting Tom Lane <tgl@sss.pgh.pa.us>
Re: <IDLE> and waiting "Gurjeet Singh" <singh.gurjeet@gmail.com>
Gurjeet Singh escribió: > I just looked at the patch... Isn't PG_TRY() an expensive call to make in > the lock.c code? I was thinking of registering a Xact callback using > RegisterXactCallback() and performing 'waiting' reset in that callback if > the Xact event is XACT_EVENT_ABORT. PG_TRY is not expensive as all that -- it's just a sigsetjmp() call and another stack frame. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-hackers по дате отправления