Re: [HACKERS] A little improvementof ApplyLauncherMain loop code

Поиск
Список
Период
Сортировка
От Yugo Nagata
Тема Re: [HACKERS] A little improvementof ApplyLauncherMain loop code
Дата
Msg-id 20170822125125.877b684d.nagata@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: [HACKERS] A little improvementof ApplyLauncherMain loop code  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On Tue, 15 Aug 2017 15:17:06 -0400
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:

> On 8/1/17 02:28, Yugo Nagata wrote:
> > When reading the logical replication code, I found that the following
> > part could be improved a bit. In the foreach, LWLockAcquire and
> > logicalrep_worker_find are called for each loop, but they are needed
> > only when sub->enabled is true.
> 
> Fixed, thanks!

Thanks, too!

> 
> -- 
> Peter Eisentraut              http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Yugo Nagata <nagata@sraoss.co.jp>



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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization
Следующее
От: Yugo Nagata
Дата:
Сообщение: Re: [HACKERS] A suspicious code in pgoutput_startup().