Re: [HACKERS] A little improvementof ApplyLauncherMain loop code

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] A little improvementof ApplyLauncherMain loop code
Дата
Msg-id c659720e-18bc-2fc4-4b18-4b36f2ed7dd5@2ndquadrant.com
обсуждение исходный текст
Ответ на [HACKERS] A little improvementof ApplyLauncherMain loop code  (Yugo Nagata <nagata@sraoss.co.jp>)
Ответы Re: [HACKERS] A little improvementof ApplyLauncherMain loop code  (Yugo Nagata <nagata@sraoss.co.jp>)
Список pgsql-hackers
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!

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



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] [COMMITTERS] pgsql: Simplify plpgsql's check for simple expressions.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Logical replication message type 'Y' is missing in docs